@Beta public class MarionetteConnection extends Object implements ExtensionConnection, org.openqa.selenium.logging.NeedsLocalLogs
| Constructor and Description |
|---|
MarionetteConnection(org.openqa.selenium.internal.Lock lock,
FirefoxBinary binary,
FirefoxProfile profile,
String host) |
| Modifier and Type | Method and Description |
|---|---|
Response |
execute(Command command) |
URI |
getAddressOfRemoteServer() |
boolean |
isConnected() |
void |
quit()
Terminates the connection.
|
void |
setLocalLogs(org.openqa.selenium.logging.LocalLogs logs) |
void |
start()
Establishes a connection to the extension.
|
public MarionetteConnection(org.openqa.selenium.internal.Lock lock,
FirefoxBinary binary,
FirefoxProfile profile,
String host)
throws Exception
Exceptionpublic void start()
throws IOException
ExtensionConnectionstart in interface ExtensionConnectionIOException - If an I/O error occurs.public Response execute(Command command) throws IOException
execute in interface CommandExecutorIOExceptionpublic void quit()
ExtensionConnectionquit in interface ExtensionConnectionpublic boolean isConnected()
isConnected in interface ExtensionConnectionpublic void setLocalLogs(org.openqa.selenium.logging.LocalLogs logs)
setLocalLogs in interface org.openqa.selenium.logging.NeedsLocalLogspublic URI getAddressOfRemoteServer()
getAddressOfRemoteServer in interface ExtensionConnectionCopyright © 2015. All rights reserved.