Method: Selenium::WebDriver::Chrome::Service#connect_until_stable

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

#connect_until_stableObject

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.

[View source]

105
106
107
108
109
110
111
# File 'lib/selenium/webdriver/chrome/service.rb', line 105

def connect_until_stable
  @socket_poller = SocketPoller.new @host, @port, START_TIMEOUT

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