I restarted working on an older rails project today. One problem driving me crazy is that I can't get my javascript test cases to run, although I remember them all passing when I left the project. I am using
selenium-webdriver 2.25.0 capybara 1.1.2 cucumber 1.2.1
but firefox doesn't start when I run the tests. All I get is
unable to start Firefox cleanly, args: ["-silent"] (Selenium::WebDriver::Error::WebDriverError)
I guess this is because of updating firefox and I tried to install several older versions but none of them works. Which version is supported by selenium-webdriver 2.25.0?
These are capabilities and features specific to Mozilla Firefox browsers. Selenium 4 requires Firefox 78 or greater. It is recommended to always use the latest version of geckodriver.
Selenium users must update to version 3.11 or later to use geckodriver.
GeckoDriver is a proxy for using W3C WebDriver-compatible clients to interact with gecko-based browsers i.e. Mozilla FireFox. GeckoDriver acts a link between Selenium WebDriver tests and Mozilla FireFox Browser. It is a web browser engine which is inbuilt in FireFox Browser.
HTML UnitDriver is the most light weight and fastest implementation headless browser for of WebDriver. It is based on HtmlUnit. It is known as Headless Browser Driver.
Yes, this is annoying. I just upgrade the driver and it usually does the trick:
bundle update selenium-webdriver
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With