Method: Selenium::WebDriver::Chrome::Service#start

Defined in:
lib/selenium/webdriver/chrome/service.rb

#startObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



41
42
43
44
45
46
47
48
49
# File 'lib/selenium/webdriver/chrome/service.rb', line 41

def start
  @process.start

  unless @socket_poller.connected?
    raise Error::WebDriverError, "unable to connect to chromedriver #{@uri}"
  end

  Platform.exit_hook { stop } # make sure we don't leave the server running
end