org.openqa.selenium.server
Enum SpecialCommand
java.lang.Object
java.lang.Enum<SpecialCommand>
org.openqa.selenium.server.SpecialCommand
- All Implemented Interfaces:
- Serializable, Comparable<SpecialCommand>
public enum SpecialCommand
- extends Enum<SpecialCommand>
getNewBrowserSession
public static final SpecialCommand getNewBrowserSession
testComplete
public static final SpecialCommand testComplete
shutDownSeleniumServer
public static final SpecialCommand shutDownSeleniumServer
getLogMessages
public static final SpecialCommand getLogMessages
retrieveLastRemoteControlLogs
public static final SpecialCommand retrieveLastRemoteControlLogs
captureEntirePageScreenshotToString
public static final SpecialCommand captureEntirePageScreenshotToString
attachFile
public static final SpecialCommand attachFile
captureScreenshot
public static final SpecialCommand captureScreenshot
captureScreenshotToString
public static final SpecialCommand captureScreenshotToString
captureNetworkTraffic
public static final SpecialCommand captureNetworkTraffic
addCustomRequestHeader
public static final SpecialCommand addCustomRequestHeader
keyDownNative
public static final SpecialCommand keyDownNative
keyUpNative
public static final SpecialCommand keyUpNative
keyPressNative
public static final SpecialCommand keyPressNative
isPostSupported
public static final SpecialCommand isPostSupported
setSpeed
public static final SpecialCommand setSpeed
getSpeed
public static final SpecialCommand getSpeed
addStaticContent
public static final SpecialCommand addStaticContent
runHTMLSuite
public static final SpecialCommand runHTMLSuite
launchOnly
public static final SpecialCommand launchOnly
slowResources
public static final SpecialCommand slowResources
open
public static final SpecialCommand open
getLog
public static final SpecialCommand getLog
nonSpecial
public static final SpecialCommand nonSpecial
values
public static SpecialCommand[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SpecialCommand c : SpecialCommand.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SpecialCommand valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getValue
public static SpecialCommand getValue(String command)
Copyright © 2012. All Rights Reserved.