Method: Selenium::WebDriver::SocketLock#initialize

Defined in:
lib/selenium/webdriver/common/socket_lock.rb

#initialize(port, timeout) ⇒ SocketLock

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.

Returns a new instance of SocketLock.



29
30
31
32
# File 'lib/selenium/webdriver/common/socket_lock.rb', line 29

def initialize(port, timeout)
  @port    = port
  @timeout = timeout
end