Tags: javascript

Simon Wiesmayr
1 year
Posted almost 2 years ago. Visible to the public.

Capybara, Selenium and VCR playing together nicely

When using capybara (for request specs) together with vcr while trying to run with selenium throws the following error:

VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: GET http://127.0.0.1:62789/__identify__

Configuring VCR to ignore localhost requests solve the problem.

c.ignore_localhost = true

Author of this card:

Tags:
capybara, javascript, rspec, selenium, vcr
2 cards