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
I am unable to update the wiki so please find description of change request in this issue.
Issue: The ignore_hosts call for VCR configuration is a method that takes an array and not an assignment.
ignore_hosts
The error is on this wiki section: https://github.com/titusfortner/webdrivers/wiki/Using-with-VCR-or-WebMock#vcr
It should be
VCR.configure do |config| config.ignore_hosts([ "chromedriver.storage.googleapis.com", "github.com/mozilla/geckodriver/releases", "selenium-release.storage.googleapis.com", "developer.microsoft.com/en-us/microsoft-edge/tools/webdriver" ]) end
See here for example usage: https://github.com/vcr/vcr/blob/806dcebfd87123b45cb57c2152be568030864c4b/spec/support/shared_example_groups/hook_into_http_library.rb#L553
The text was updated successfully, but these errors were encountered:
Thanks, @martinbjeldbak! I have updated the wiki.
Sorry, something went wrong.
@kapoorlakshya apologies, I've done some more playing around and it turns out it has to be a list of arguments, not an array
VCR.configure do |config| config.ignore_hosts( "chromedriver.storage.googleapis.com", "github.com/mozilla/geckodriver/releases", "selenium-release.storage.googleapis.com", "developer.microsoft.com/en-us/microsoft-edge/tools/webdriver" ) end
No problem! Updated it.
No branches or pull requests
I am unable to update the wiki so please find description of change request in this issue.
Issue: The
ignore_hosts
call for VCR configuration is a method that takes an array and not an assignment.The error is on this wiki section: https://github.com/titusfortner/webdrivers/wiki/Using-with-VCR-or-WebMock#vcr
It should be
See here for example usage: https://github.com/vcr/vcr/blob/806dcebfd87123b45cb57c2152be568030864c4b/spec/support/shared_example_groups/hook_into_http_library.rb#L553
The text was updated successfully, but these errors were encountered: