Capybara-webkit raises Capybara::Driver::Webkit::WebkitInvalidResponseError
问题 I got following message from webkit driver in my rspec: Capybara::Driver::Webkit::WebkitInvalidResponseError: Unable to load URL: http://127.0.0.1:44923/posts Few days ago it worked. The problem is with save_page method. What could be wrong? 回答1: I've had similar error messages when my page was raising an error. You should check manually that this is not the case by starting a server in testing mode ( rails s -e test ) and accessing the page yourself. 回答2: Check if you don't have any other