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.



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

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