Method: Selenium::WebDriver::Chrome::Service#connect_until_stable
- Defined in:
- lib/selenium/webdriver/chrome/service.rb
permalink #connect_until_stable ⇒ 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.
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 |