Win 7 and FireFox is running in German language.
Win 7 has all available updates installed.
Same for 32 and 64 Bit GeckoDriver! (my Win 7 ist 64 Bit; my FireFox is 32 Bit).
Same for GeckoDriver 0.14.
Is this just a problem on my PC ?
driver.quit() is working on my InternetExplorer without a problem.
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 perfectly well:
element = driver.findElement(By.id("sinp"));
System.out.println( "Element found!");
element.clear();
element.sendKeys("black");
element.submit();
Eclipse Console-Output:
1485978825934 geckodriver INFO Listening on 127.0.0.1:21352 Feb 01, 2017 8:53:46 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFORMATION: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end 1485978826606 mozprofile::profile INFO Using profile path C:\Users\xxxxxxx\AppData\Local\Temp\rust_mozprofile.qNYZq4KKbeGl 1485978826606 geckodriver::marionette INFO Starting browser C:\Program Files (x86)\Mozilla Firefox\firefox.exe 1485978826637 geckodriver::marionette INFO Connecting to Marionette on localhost:51926 1485978828021 Marionette INFO Listening on port 51926 Feb 01, 2017 8:53:52 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFORMATION: Detected dialect: W3C JavaScript warning: https://www.youtube.com/yts/jsbin/player-de_DE-vflWB2cvt/base.js, line 664: Error: WebGL: getParameter: parameter: invalid enum value [Child 4416] ###!!! ABORT: Aborting on channel error.: file c:/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 destroy SCHWERWIEGEND: Unable to kill process with PID 4608
