-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Description
Meta -
OS:
Windows 7
Selenium Version:
3.0.1
Browser:
Firefox
Browser Version:
51.0.1 (Portable)
Expected Behavior -
Open browser and go to a specific page
Actual Behavior -
Stuck on user profile page
Steps to reproduce -
http://stackoverflow.com/q/42154400/4675568
I'm executing this code:
public class Selenium {
public static void main(String[] args) {
WebDriver driver = createFFDriver();
driver.navigate().to("http:....");
System.out.println("Finished");
}
public static WebDriver createFFDriver(){
System.setProperty(GeckoDriverService.GECKO_DRIVER_EXE_PROPERTY,SELENIUM_DRIVERS + "\\firefox\\foo\\geckodriver.exe");
FirefoxProfile firefoxProfile = new FirefoxProfile();
File pathToBinary = new File(SELENIUM_INSTALLS_DEV + "\\51.0.1\\FirefoxPortable.exe");
FirefoxBinary ffBinary = new FirefoxBinary(pathToBinary);
return new FirefoxDriver(ffBinary,firefoxProfile);
}
}
In logs, I've got this:
1486713046153 geckodriver INFO Listening on 127.0.0.1:12466
Feb 10, 2017 8:50:46 AM org.openqa.selenium.remote.ProtocolHandshake
createSession INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end
1486713046731 mozprofile::profile INFO Using profile path foo\AppData\Local\Temp\rust_mozprofile.p25D0Gb1sBQm
1486713046752 geckodriver::marionette INFO Starting browser foo\firefox\51.0\FirefoxPortable.exe
1486713046782 geckodriver::marionette INFO Connecting to Marionette on localhost:52818
Metadata
Metadata
Assignees
Labels
No labels