Posted over 7 years ago. Visible to the public. Linked content.

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:

Copy
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.

Copy
c.ignore_localhost = true

Owner of this card:

Avatar
basiszwo
Last edit:
over 7 years ago
Tags:
capybara, javascript, rspec, selenium, vcr
Posted by basiszwo to NinjaConcept KB
This website uses cookies to improve usability and analyze traffic.
Accept or learn more