public class WDCommand extends AbstractSubCommand<Object>
| Constructor and Description |
|---|
WDCommand(com.thoughtworks.selenium.webdriven.SeleneseCommand<?> seleneseCommand,
String name,
ArgumentType... argTypes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Context context,
String... args)
Execute sub command.
|
String |
getName()
Get sub-command name.
|
boolean |
isNoOp()
Test WDCP command is NoOp.
|
String |
toString() |
getArgumentTypespublic WDCommand(com.thoughtworks.selenium.webdriven.SeleneseCommand<?> seleneseCommand,
String name,
ArgumentType... argTypes)
seleneseCommand - Selenese command.name - command name.argTypes - argument types.public String getName()
ISubCommandgetName in interface ISubCommand<Object>getName in class AbstractSubCommand<Object>public Object execute(Context context, String... args)
ISubCommandcontext - Selenese Runner context.args - arguments.public boolean isNoOp()
Copyright © 2016. All rights reserved.