Method: Selenium::WebDriver::ServiceManager#start
- Defined in:
- lib/selenium/webdriver/common/service_manager.rb
#start ⇒ Object
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.
50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/selenium/webdriver/common/service_manager.rb', line 50 def start raise "already started: #{uri.inspect} #{@executable_path.inspect}" if process_running? 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 |