I'm trying to get my specifications to work tirelessly in the docker - they work fine locally on my mac, but when I run them inside the docker container, I get this error (it repeats several times)
Selenium::WebDriver::Error::JavascriptError: arguments[0] is undefined # [remote server] https:
Xvfb works: Xvfb :99.0 -screen 0 1366x768x16
I also tried making xvfb-run rspec
and got the same errors.
spec_helper.rb:
Capybara.default_driver = :selenium Capybara.javascript_driver = :selenium
What happens that it cannot work inside the docker?
source share