org.openqa.selenium.server
Enum SpecialCommand

java.lang.Object
  extended by java.lang.Enum<SpecialCommand>
      extended by org.openqa.selenium.server.SpecialCommand
All Implemented Interfaces:
Serializable, Comparable<SpecialCommand>

public enum SpecialCommand
extends Enum<SpecialCommand>


Enum Constant Summary
addCustomRequestHeader
           
addStaticContent
           
attachFile
           
captureEntirePageScreenshotToString
           
captureNetworkTraffic
           
captureScreenshot
           
captureScreenshotToString
           
getLog
           
getLogMessages
           
getNewBrowserSession
           
getSpeed
           
isPostSupported
           
keyDownNative
           
keyPressNative
           
keyUpNative
           
launchOnly
           
nonSpecial
           
open
           
retrieveLastRemoteControlLogs
           
runHTMLSuite
           
setSpeed
           
shutDownSeleniumServer
           
slowResources
           
testComplete
           
 
Method Summary
static SpecialCommand getValue(String command)
           
static SpecialCommand valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpecialCommand[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.