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
Following from my previous issue (thanks for replying btw..) #112
Running:
require 'selenium-webdriver' options = Selenium::WebDriver::Chrome::Options.new(args: ['headless']) driver = Selenium::WebDriver.for(:chrome, options: options) driver.get('http://stackoverflow.com/') puts "source: ",driver.page_source driver.quit
works fine on heroku.
Running
require 'selenium-webdriver' options = Selenium::WebDriver::Chrome::Options.new(args: [ 'headless', 'host-resolver-rules=MAP stackoverflow.com 192.0.2.1' ]) driver = Selenium::WebDriver.for(:chrome, options: options) driver.get('http://stackoverflow.com/') puts "source: ",driver.page_source
(notice the added option host-resolver-rules) fails miserabley with error:
Selenium::WebDriver::Error::SessionNotCreatedError (session not created from tab crashed (Session info: headless chrome=93.0.4577.82)):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Following from my previous issue (thanks for replying btw..) #112
Running:
works fine on heroku.
Running
(notice the added option host-resolver-rules) fails miserabley with error:
The text was updated successfully, but these errors were encountered: