public class AppiumW3CHttpCommandCodec
extends org.openqa.selenium.remote.http.W3CHttpCommandCodec
Constructor and Description |
---|
AppiumW3CHttpCommandCodec()
This class overrides the built-in Selenium W3C commands codec,
since the latter hardcodes many commands in Javascript,
which does not work with Appium.
|
Modifier and Type | Method and Description |
---|---|
void |
alias(java.lang.String commandName,
java.lang.String isAnAliasFor) |
protected java.util.Map<java.lang.String,?> |
amendParameters(java.lang.String name,
java.util.Map<java.lang.String,?> parameters) |
public AppiumW3CHttpCommandCodec()
public void alias(java.lang.String commandName, java.lang.String isAnAliasFor)
alias
in interface org.openqa.selenium.remote.CommandCodec<org.openqa.selenium.remote.http.HttpRequest>
alias
in class org.openqa.selenium.remote.http.AbstractHttpCommandCodec
protected java.util.Map<java.lang.String,?> amendParameters(java.lang.String name, java.util.Map<java.lang.String,?> parameters)
amendParameters
in class org.openqa.selenium.remote.http.W3CHttpCommandCodec