|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openqa.selenium.chrome.ChromeCommandExecutor
public class ChromeCommandExecutor
| Constructor Summary | |
|---|---|
ChromeCommandExecutor(int port)
Creates a new ChromeCommandExecutor which listens on a TCP port. |
|
| Method Summary | |
|---|---|
ChromeResponse |
execute(Command command)
Executes the passed command |
void |
stopListening()
Stops listening from for new sockets from Chrome |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChromeCommandExecutor(int port)
port - port on which to listen for the initial connection,
and dispatch commands
WebDriverException - if could not bind to port
TODO(danielwh): Bind to a random port (blocked on crbug.com 11547)| Method Detail |
|---|
public ChromeResponse execute(Command command)
throws java.io.IOException
command - command to execute
java.lang.IllegalStateException - if no socket was present
java.io.IOExceptionpublic void stopListening()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||