Open GoogleCodeExporter opened 8 years ago
It looks like basic authentication. If the popup makes the open command
hanging, it won't be possible to handle the popup by simulating key press using
Selenium.
However you can send the credentials in the URL to avoid the popup:
Dim driver As New SeleniumWrapper.WebDriver
driver.Start "firefox", "http://user:password@www.example.com"
driver.Open "/"
...
Or you can use a Firefox profile configured with your proxy:
Run "firefox -p" and create the profile "Selenium" for example, launch it and
configure your proxy.
Then to use it in a script:
Dim driver As New SeleniumWrapper.WebDriver
driver.setProfile "Selenium"
driver.start "firefox", "http://www.example.com"
...
Or if there's no password to provide, you can set the autologin preference:
Dim driver As New SeleniumWrapper.WebDriver
driver.setPreference "signon.autologin.proxy", True
driver.start "firefox", "http://www.example.com"
...
Original comment by florentbr
on 28 Feb 2014 at 4:53
Hello,
I solved problem with AutoAuth module.
Thanks
Original comment by epimethee78
on 1 Apr 2014 at 9:42
Original comment by florentbr
on 8 Sep 2014 at 5:40
Original issue reported on code.google.com by
epimethee78
on 28 Feb 2014 at 8:23