org.openqa.selenium.firefox
Interface ExtensionConnection

All Superinterfaces:
CommandExecutor, org.openqa.selenium.logging.NeedsLocalLogs
All Known Implementing Classes:
MarionetteConnection, NewProfileExtensionConnection

public interface ExtensionConnection
extends CommandExecutor, org.openqa.selenium.logging.NeedsLocalLogs

Represents a connection with the FirefoxDriver browser extension.


Method Summary
 boolean isConnected()
           
 void quit()
          Terminates the connection.
 void start()
          Establishes a connection to the extension.
 
Methods inherited from interface org.openqa.selenium.remote.CommandExecutor
execute
 
Methods inherited from interface org.openqa.selenium.logging.NeedsLocalLogs
setLocalLogs
 

Method Detail

start

void start()
           throws IOException
Establishes a connection to the extension.

Throws:
IOException - If an I/O error occurs.

isConnected

boolean isConnected()
Returns:
Whether the extension is reachable and accepting requests.

quit

void quit()
Terminates the connection.



Copyright © 2013. All rights reserved.