I cannot get webdriver working. No matter what I do, when I try to start it, I am getting:
require "selenium-webdriver"
driver = Selenium::WebDriver.for :chrome
Selenium::WebDriver::Error::UnknownError (unknown error: Chrome failed to start: exited abnormally.)
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/lib64/chromium-browser/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Then I need to kill the process. Any clue how to troubleshoot this? All JS webdriver tests do fail and are extremely slow.
I tried it on my laptop and it works there. But the error was different - it wanted me to run webpack:compile which I did not perform for quite some time on my main machine. Uh if this was it then I lost almost a day troubleshooting selenium-webdriver while it was simply missing compiled assets