We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I'm trying to run rspecs via Docker and not able to connect by name as expected.
docker-compose:
services: -- snip -- chrome: image: alpeware/chrome-headless-stable ports: - "9222:9222"
spec_helper:
require 'capybara/apparition' Capybara.register_driver :apparition do |app| browser_options = { 'remote-debugging-address' => 'chrome', 'remote-debugging-port' => 9222 } Capybara::Apparition::Driver.new(app, remote: true, browser_options: browser_options) end Capybara.javascript_driver = :apparition -- snip --
Error observed:
JSON::ParserError: 809: unexpected token at 'Host header is specified and is not an IP address or localhost.'
I suspect it's something simple. Any ideas? Many thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! I'm trying to run rspecs via Docker and not able to connect by name as expected.
docker-compose:
spec_helper:
Error observed:
I suspect it's something simple. Any ideas? Many thanks!
The text was updated successfully, but these errors were encountered: