selenium: [rb] selenium-webdriver 3.13.0 gives DevToolsActivePort file doesn't exist error

Meta -

OS:
OSX Selenium Version:
3.13.0 Browser:
Chrome

Browser Version:
chromedriver=2.40.565383

Expected Behavior -

No error

Actual Behavior -

Selenium::WebDriver::Error::UnknownError:
       unknown error: DevToolsActivePort file doesn't exist
         (Driver info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),platform=Linux 4.4.0-112-generic x86_64)

Steps to reproduce -

Here’s a build that fails: https://travis-ci.org/projectblacklight/blacklight/jobs/397053599 And when I pin the version of selenium-webdriver to ~> 3.12.0 the error does not occur

See: https://github.com/projectblacklight/blacklight/pull/1912 https://travis-ci.org/projectblacklight/blacklight/jobs/397060363

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 7
  • Comments: 22 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Gem 3.13.1 has been released.

I have hit the same issue while moving my project to linux today. Can someone provide the version # of both Selenium and ChromeDriver, that are working ? thanks,

I just installed chromedriver=2.41.578700 with selenium-webdriver (3.14.1) and am hitting this problem running a basic script:

  args = %w[
    --no-sandbox
    --headless
    --disable-gpu
    --dump-dom
    --disable-dev-shm-usage
    --window-size=1400,1400
  ]

  Selenium::WebDriver::Chrome.driver_path = '/usr/bin/chromedriver'
  options = Selenium::WebDriver::Chrome::Options.new(args: args)
  driver = Selenium::WebDriver.for(:chrome, options: options)

Is there any timeframe for the next release to rubygems that contains this fix?