org.openqa.selenium.firefox.internal
Class NewProfileExtensionConnection
java.lang.Object
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection
- All Implemented Interfaces:
- ExtensionConnection, CommandExecutor
public class NewProfileExtensionConnection
- extends java.lang.Object
- implements ExtensionConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewProfileExtensionConnection
public NewProfileExtensionConnection(Lock lock,
FirefoxBinary binary,
FirefoxProfile profile,
java.lang.String host)
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.io.IOException
- Description copied from interface:
ExtensionConnection
- Establishes a connection to the extension.
- Specified by:
start
in interface ExtensionConnection
- Throws:
java.io.IOException
- If an I/O error occurs.
execute
public Response execute(Command command)
throws java.io.IOException
- Specified by:
execute
in interface CommandExecutor
- Throws:
java.io.IOException
determineNextFreePort
protected int determineNextFreePort(int port)
quit
public void quit()
- Description copied from interface:
ExtensionConnection
- Terminates the connection.
- Specified by:
quit
in interface ExtensionConnection
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interface ExtensionConnection
- Returns:
- Whether the extension is reachable and accepting requests.
Copyright © 2011. All Rights Reserved.