keoghpe
keoghpe

Reputation: 404

Chromedriver Devtools port number error

I'm getting the following error while trying to run tests using capybara, selenium and chromedriver-helper. The tests run fine locally on a mac using the same version of chromedriver. I've tried setting the remote debugging port explicitly in my spec_helper, but apparently this is ignored as chromedriver uses a random remote debugging port.

Selenium::WebDriver::Error::UnknownError:
        unknown error: Devtools port number file contents <37329> were in an unexpected format
          (Driver info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),platform=Linux 4.4.0-127-generic x86_64)

Upvotes: 7

Views: 10311

Answers (1)

stebooks
stebooks

Reputation: 2337

Had the same problem, I had to upgrade Chrome to the latest release and it fixed it.

Upvotes: 11

Related Questions