It has something to do with FakeWeb inserting it into the HTTP stack strangely even if you tell it to allow non-local HTTP requests. We weren’t seeing it in 2.3.10 because we were using a cucumber environment to run the cucumber tests. Now under 3.0.1 we run the cucumber tests in the test environment.

I wish I had some more details but I was just happy to move past this strangeness so I didn’t really look back.

Sorry…we haven’t actually switched to Artifice yet so I can’t help with that.

November 5, 2010 at 4:50 pm

jari says:

WebDriver’s internals do use Net::HTTP by default to communicate with the browsers. You can avoid the Net::HTTP stack completely by using the provided Curb client or your own implementation – check “Using Curb or your own HTTP client” here: