@Deprecated public class NewProfileExtensionConnection extends java.lang.Object implements ExtensionConnection, NeedsLocalLogs
| Constructor and Description |
|---|
NewProfileExtensionConnection(Lock lock,
FirefoxBinary binary,
FirefoxProfile profile,
java.lang.String host)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addWebDriverExtensionIfNeeded()
Deprecated.
|
protected int |
determineNextFreePort(int port)
Deprecated.
|
Response |
execute(Command command)
Deprecated.
|
java.net.URI |
getAddressOfRemoteServer()
Deprecated.
|
boolean |
isConnected()
Deprecated.
|
void |
quit()
Deprecated.
Terminates the connection.
|
void |
setLocalLogs(LocalLogs logs)
Deprecated.
|
void |
start()
Deprecated.
Establishes a connection to the extension.
|
public NewProfileExtensionConnection(Lock lock, FirefoxBinary binary, FirefoxProfile profile, java.lang.String host) throws java.lang.Exception
java.lang.Exceptionpublic void start()
throws java.io.IOException
ExtensionConnectionstart in interface ExtensionConnectionjava.io.IOException - If an I/O error occurs.protected void addWebDriverExtensionIfNeeded()
public Response execute(Command command) throws java.io.IOException
execute in interface CommandExecutorjava.io.IOExceptionprotected int determineNextFreePort(int port)
public void quit()
ExtensionConnectionquit in interface ExtensionConnectionpublic boolean isConnected()
isConnected in interface ExtensionConnectionpublic void setLocalLogs(LocalLogs logs)
setLocalLogs in interface NeedsLocalLogspublic java.net.URI getAddressOfRemoteServer()
getAddressOfRemoteServer in interface ExtensionConnection