selenium.webdriver.remote.command

class selenium.webdriver.remote.command.Command[source]

Defines constants for the standard WebDriver commands.

While these constants have no meaning in and of themselves, they are used to marshal commands through a service that implements WebDriver’s remote wire protocol:

ACCEPT_ALERT = 'acceptAlert'
CLEAR_APP_CACHE = 'clearAppCache'
CLEAR_ELEMENT = 'clearElement'
CLEAR_LOCAL_STORAGE = 'clearLocalStorage'
CLEAR_SESSION_STORAGE = 'clearSessionStorage'
CLICK = 'mouseClick'
CLICK_ELEMENT = 'clickElement'
CLOSE = 'close'
CONTEXT_HANDLES = 'getContextHandles'
CURRENT_CONTEXT_HANDLE = 'getCurrentContextHandle'
DELETE_ALL_COOKIES = 'deleteAllCookies'
DELETE_SESSION = 'deleteSession'
DISMISS_ALERT = 'dismissAlert'
DOUBLE_CLICK = 'mouseDoubleClick'
DOUBLE_TAP = 'touchDoubleTap'
ELEMENT_EQUALS = 'elementEquals'
ELEMENT_SCREENSHOT = 'elementScreenshot'
EXECUTE_ASYNC_SCRIPT = 'executeAsyncScript'
EXECUTE_SCRIPT = 'executeScript'
EXECUTE_SQL = 'executeSql'
FIND_CHILD_ELEMENT = 'findChildElement'
FIND_CHILD_ELEMENTS = 'findChildElements'
FIND_ELEMENT = 'findElement'
FIND_ELEMENTS = 'findElements'
FLICK = 'touchFlick'
GET = 'get'
GET_ACTIVE_ELEMENT = 'getActiveElement'
GET_ALERT_TEXT = 'getAlertText'
GET_ALL_COOKIES = 'getCookies'
GET_ALL_SESSIONS = 'getAllSessions'
GET_APP_CACHE = 'getAppCache'
GET_APP_CACHE_STATUS = 'getAppCacheStatus'
GET_AVAILABLE_LOG_TYPES = 'getAvailableLogTypes'
GET_CURRENT_URL = 'getCurrentUrl'
GET_CURRENT_WINDOW_HANDLE = 'getCurrentWindowHandle'
GET_ELEMENT_ATTRIBUTE = 'getElementAttribute'
GET_ELEMENT_LOCATION = 'getElementLocation'
GET_ELEMENT_LOCATION_ONCE_SCROLLED_INTO_VIEW = 'getElementLocationOnceScrolledIntoView'
GET_ELEMENT_PROPERTY = 'getElementProperty'
GET_ELEMENT_RECT = 'getElementRect'
GET_ELEMENT_SIZE = 'getElementSize'
GET_ELEMENT_TAG_NAME = 'getElementTagName'
GET_ELEMENT_TEXT = 'getElementText'
GET_ELEMENT_VALUE = 'getElementValue'
GET_ELEMENT_VALUE_OF_CSS_PROPERTY = 'getElementValueOfCssProperty'
GET_LOCAL_STORAGE_ITEM = 'getLocalStorageItem'
GET_LOCAL_STORAGE_KEYS = 'getLocalStorageKeys'
GET_LOCAL_STORAGE_SIZE = 'getLocalStorageSize'
GET_LOCATION = 'getLocation'
GET_LOG = 'getLog'
GET_NETWORK_CONNECTION = 'getNetworkConnection'
GET_PAGE_SOURCE = 'getPageSource'
GET_SCREEN_ORIENTATION = 'getScreenOrientation'
GET_SESSION_STORAGE_ITEM = 'getSessionStorageItem'
GET_SESSION_STORAGE_KEYS = 'getSessionStorageKeys'
GET_SESSION_STORAGE_SIZE = 'getSessionStorageSize'
GET_TITLE = 'getTitle'
GET_WINDOW_HANDLES = 'getWindowHandles'
GET_WINDOW_POSITION = 'getWindowPosition'
GET_WINDOW_SIZE = 'getWindowSize'
GO_BACK = 'goBack'
GO_FORWARD = 'goForward'
IMPLICIT_WAIT = 'implicitlyWait'
IS_ELEMENT_DISPLAYED = 'isElementDisplayed'
IS_ELEMENT_ENABLED = 'isElementEnabled'
IS_ELEMENT_SELECTED = 'isElementSelected'
LONG_PRESS = 'touchLongPress'
MAXIMIZE_WINDOW = 'windowMaximize'
MOUSE_DOWN = 'mouseButtonDown'
MOUSE_UP = 'mouseButtonUp'
MOVE_TO = 'mouseMoveTo'
NEW_SESSION = 'newSession'
QUIT = 'quit'
REFRESH = 'refresh'
REMOVE_LOCAL_STORAGE_ITEM = 'removeLocalStorageItem'
REMOVE_SESSION_STORAGE_ITEM = 'removeSessionStorageItem'
SCREENSHOT = 'screenshot'
SEND_KEYS_TO_ACTIVE_ELEMENT = 'sendKeysToActiveElement'
SEND_KEYS_TO_ELEMENT = 'sendKeysToElement'
SET_ALERT_CREDENTIALS = 'setAlertCredentials'
SET_ALERT_VALUE = 'setAlertValue'
SET_ELEMENT_SELECTED = 'setElementSelected'
SET_LOCAL_STORAGE_ITEM = 'setLocalStorageItem'
SET_LOCATION = 'setLocation'
SET_NETWORK_CONNECTION = 'setNetworkConnection'
SET_SCREEN_ORIENTATION = 'setScreenOrientation'
SET_SCRIPT_TIMEOUT = 'setScriptTimeout'
SET_SESSION_STORAGE_ITEM = 'setSessionStorageItem'
SET_TIMEOUTS = 'setTimeouts'
SET_WINDOW_POSITION = 'setWindowPosition'
SET_WINDOW_SIZE = 'setWindowSize'
SINGLE_TAP = 'touchSingleTap'
STATUS = 'status'
SUBMIT_ELEMENT = 'submitElement'
SWITCH_TO_CONTEXT = 'switchToContext'
SWITCH_TO_FRAME = 'switchToFrame'
SWITCH_TO_PARENT_FRAME = 'switchToParentFrame'
SWITCH_TO_WINDOW = 'switchToWindow'
TOUCH_DOWN = 'touchDown'
TOUCH_MOVE = 'touchMove'
TOUCH_SCROLL = 'touchScroll'
TOUCH_UP = 'touchUp'
UPLOAD_FILE = 'uploadFile'
W3C_GET_ACTIVE_ELEMENT = 'w3cGetActiveElement'
W3C_GET_WINDOW_POSITION = 'w3cGetWindowPosition'
W3C_GET_WINDOW_SIZE = 'w3cGetWindowSize'
W3C_MAXIMIZE_WINDOW = 'w3cMaximizeWindow'
W3C_SET_WINDOW_POSITION = 'w3cSetWindowPosition'
W3C_SET_WINDOW_SIZE = 'w3cSetWindowSize'

This Page