You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use Chromedriver under WSL (Windows Subsystem for Linux -- I'm using Ubuntu 18.04) to run headless tests under Rails/Cucumber/Capybara/Selenium.
Operating system / CI Environment: Microsoft Windows [Version 10.0.18362.239] with WSL running Ubuntu 18.04 [Linux version 4.4.0-18362-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) implement geckodriver support #1-Microsoft Mon Mar 18 12:02:00 PST 2019]
unknown error: Chrome failed to start: crashed
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Selenium::WebDriver::Error::UnknownError)
#0 0x7f8211ae07a9 <unknown>
I don't know if this is simply a problem with running on WSL or a problem that's manageable with webdrivers. I'm posting it here (and StackOverflow, and the WSL GitHub page -- in response to this issue) in the hopes it'll have a solution.
The text was updated successfully, but these errors were encountered:
Chrome is failing to start/crashing which means it's not an issue with webdrivers. Most likely the cause is not having the correct combination of needed command line options for the container you're trying to run in.
@derrelldurrett Note: your issue may be the use of passing chromeOptions - Chrome 75 changed it's setting to goog:chromeOptions' - If you used Selenium::WebDriver::Chrome::Options` instead it would have handled the conversion for you.
I'm attempting to use Chromedriver under WSL (Windows Subsystem for Linux -- I'm using Ubuntu 18.04) to run headless tests under Rails/Cucumber/Capybara/Selenium.
my
features/support/env.rb
:Expected Behavior
I expected it to run my tests (headless).
Actual Behavior
I don't know if this is simply a problem with running on WSL or a problem that's manageable with webdrivers. I'm posting it here (and StackOverflow, and the WSL GitHub page -- in response to this issue) in the hopes it'll have a solution.
The text was updated successfully, but these errors were encountered: