| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
| Constructor and Description |
|---|
SocketLock()
Constructs a new SocketLock using the default port.
|
SocketLock(java.net.InetSocketAddress address)
Constructs a new SocketLock.
|
SocketLock(int lockPort)
Constructs a new SocketLock.
|
public static final int DEFAULT_PORT
public SocketLock()
public SocketLock(int lockPort)
lockPort - the port number to lockpublic SocketLock(java.net.InetSocketAddress address)
address - The port to lock.public void lock(long timeoutInMillis)
throws WebDriverException
lock in interface LockWebDriverException