Firefox Webdriver is disabled when running a test in selenium webdriver

I had a problem where running a test using selenium webdriver in firefox starts the Firefox browser with the firefox web browser disabled, as shown below.

firefox webdriver disabled

Because of this, the test run time with an error

org.openqa.selenium.WebDriverException: Failed to connect to binary
FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 

If I quickly turn on the webdriver and restart the browser, the test will be able to start and finish by itself, so I assume that the problem is that this add-on starts when the test starts. How can i fix this? Thank!

+4
source share
3 answers

Selenium FireFox, . . : Selenium WebDriver Firefox?

0

, Marionette WebDriver

https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver

Selenium 3 WebDriver. , , , , "geckodriver" Marionette.

, , , - (, Firefox 46) FireFox.

0

Try to completely remove the extension. Usually Seleniums FirefoxDriver is enough to run the test.

WebDriver driver = new FirefoxDriver();

This should work without any external Firefox plugins.

-2
source

All Articles