org.openqa.selenium
Class WebDriverCommandProcessor
java.lang.Object
org.openqa.selenium.WebDriverCommandProcessor
- All Implemented Interfaces:
- com.thoughtworks.selenium.CommandProcessor, org.openqa.selenium.internal.WrapsDriver
public class WebDriverCommandProcessor
- extends Object
- implements com.thoughtworks.selenium.CommandProcessor, org.openqa.selenium.internal.WrapsDriver
A CommandProcessor which delegates commands down to an underlying webdriver instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebDriverCommandProcessor
public WebDriverCommandProcessor(String baseUrl,
org.openqa.selenium.WebDriver driver)
WebDriverCommandProcessor
public WebDriverCommandProcessor(String baseUrl,
com.google.common.base.Supplier<org.openqa.selenium.WebDriver> maker)
getWrappedDriver
public org.openqa.selenium.WebDriver getWrappedDriver()
- Specified by:
getWrappedDriver
in interface org.openqa.selenium.internal.WrapsDriver
getRemoteControlServerLocation
public String getRemoteControlServerLocation()
- Specified by:
getRemoteControlServerLocation
in interface com.thoughtworks.selenium.CommandProcessor
doCommand
public String doCommand(String commandName,
String[] args)
- Specified by:
doCommand
in interface com.thoughtworks.selenium.CommandProcessor
setExtensionJs
public void setExtensionJs(String s)
- Specified by:
setExtensionJs
in interface com.thoughtworks.selenium.CommandProcessor
start
public void start()
- Specified by:
start
in interface com.thoughtworks.selenium.CommandProcessor
start
public void start(String s)
- Specified by:
start
in interface com.thoughtworks.selenium.CommandProcessor
start
public void start(Object o)
- Specified by:
start
in interface com.thoughtworks.selenium.CommandProcessor
stop
public void stop()
- Specified by:
stop
in interface com.thoughtworks.selenium.CommandProcessor
getString
public String getString(String commandName,
String[] args)
- Specified by:
getString
in interface com.thoughtworks.selenium.CommandProcessor
getStringArray
public String[] getStringArray(String commandName,
String[] args)
- Specified by:
getStringArray
in interface com.thoughtworks.selenium.CommandProcessor
getNumber
public Number getNumber(String commandName,
String[] args)
- Specified by:
getNumber
in interface com.thoughtworks.selenium.CommandProcessor
getNumberArray
public Number[] getNumberArray(String s,
String[] strings)
- Specified by:
getNumberArray
in interface com.thoughtworks.selenium.CommandProcessor
getBoolean
public boolean getBoolean(String commandName,
String[] args)
- Specified by:
getBoolean
in interface com.thoughtworks.selenium.CommandProcessor
getBooleanArray
public boolean[] getBooleanArray(String s,
String[] strings)
- Specified by:
getBooleanArray
in interface com.thoughtworks.selenium.CommandProcessor
addMutator
public void addMutator(ScriptMutator mutator)
isMethodAvailable
public boolean isMethodAvailable(String methodName)
addMethod
public void addMethod(String methodName,
SeleneseCommand command)
getMethod
public SeleneseCommand getMethod(String methodName)
assertDriverSupportsJavascript
protected void assertDriverSupportsJavascript(org.openqa.selenium.WebDriver driver)
Copyright © 2012. All Rights Reserved.