[BangPypers] Selenium pyvirtualdisplay Script suggestions to improve

Senthil Kumaran senthil at uthcode.com
Sat Oct 15 02:53:04 CEST 2011


On Fri, Oct 07, 2011 at 11:20:46AM +0530, Saju M wrote:
> Here is the code for change "Custom Location" in google search page
> http://dpaste.com/629298/
> log
> http://dpaste.com/629304/
> 
> I could run it on Remote Server.
> But its not working sometimes, because selenium can't find some

The problem seems not with your code, but with google page which does
not the geolocation based redirection to appropriate page. The remote
server is obviously is not at the same spot as yours and is presented
with a different page which does not have Change Location link. Look
for the link which does not do the redirection.

HTH,
Senthil


More information about the BangPypers mailing list