Selenium 3.0.1 FireFox 51.0.1 crashes while loading driver.quit () @Win 7 Home Premium & GeckoDriver 0.13.0 driver

Win 7 and FireFox work in German.
Win 7 has all the available updates installed.

The same goes for 32 and 64 bit GeckoDriver! (my Win 7 ist is 64 bits, my FireFox is 32 bits).

The same goes for GeckoDriver 0.14.

Is this just a problem on my pc?

driver.quit() works without problems with my InternetExplorer.

package JS_JFrame1;                                       

import org.openqa.selenium.WebDriver;                     
import org.openqa.selenium.firefox.FirefoxDriver;        

public class SeleniumFireFoxMinimal1 {  



public static void main(String[] args) throws InterruptedException {

    System.setProperty("webdriver.gecko.driver", "e:\\geckodriver.exe");

    WebDriver driver = new FirefoxDriver();                 

    driver.get("http://www.toolsqa.com");                    

    Thread.sleep(5000);                                   

    driver.quit();                                        

}                                                            

}                                                                    

Other selenium commands like these work fine:

    element = driver.findElement(By.id("sinp"));              

    System.out.println( "Element found!");                   

    element.clear();                                                

    element.sendKeys("black");                                      

    element.submit();                                                       

Eclipse Console Out:

1485978825934 geckodriver INFO 127.0.0.1:21352 Feb 01, 2017 8:53:46 org.openqa.selenium.remote.ProtocolHandshake createSession INFORMATION: , Postel 1485978826606 mozprofile:: profile INFO C:\Users\XXXXXXX\AppData\Local\Temp\rust_mozprofile.qNYZq4KKbeGl 1485978826606 geckodriver:: marionette INFO C:\Program (x86)\Mozilla Firefox\firefox.exe 1485978826637 geckodriver:: INFO localhost: 51926 1485978828021 Marionette INFO 51926 Feb 01, 2017 8:53:52 PM org.openqa.selenium.remote.ProtocolHandshake createSession : : W3C JavaScript: https://www.youtube.com/yts/jsbin/player-de_DE-vflWB2cvt/base.js, 664: : WebGL: getParameter: : enum [Child 4416] ###!!! ABORT: : :/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2056 Feb 01, 2017 8:54:07 PM org.openqa.selenium.os.UnixProcess SCHWERWIEGEND: PID 4608

enter image description here

+1
4

browser.tabs.remote.autostart.2 false.

FirefoxOptions options = new FirefoxOptions();
options.BrowserExecutableLocation = Settings.Default.FirefoxBinary;

>>>> profile.SetPreference("browser.tabs.remote.autostart.2", false);
FirefoxProfile profile = new FirefoxProfile();
....
options.Profile = profile;
driverSet.Driver = new FirefoxDriver(options);
+1

, firefox firefox >= 50, , .

:

FirefoxProfile ffProfile = new FirefoxProfile();
ffProfile.setPreference("browser.tabs.remote.autostart.2", false);
WebDriver driver = new FirefoxDriver(newFirefoxOptions().setProfile(ffProfile));
+1

Firefox/geckodriver , . .

FF, , , , . , "" Firefoxdriver FF v47.0.2, .

0

. #

Utility.Instance.KillProcess("firefox");
System.Windows.Forms.SendKeys.SendWait("{ESC}");
Utility.Instance.KillProcess("geckodriverserver");

Hope this helps you.

0
source

All Articles