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.


63
64
65
66
67
68
69
70
71
# File 'lib/selenium/webdriver/chrome/service.rb', line 63

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

  socket_lock.locked do
    find_free_port
    start_process
    connect_until_stable
  end
end