Package org.openqa.selenium.remote
Interface DriverCommand
public interface DriverCommand
An empty interface defining constants for the standard commands defined in the WebDriver JSON
wire protocol.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandPayload
ACTIONS
(Collection<Sequence> actions) static CommandPayload
ADD_COOKIE
(Cookie cookie) static CommandPayload
CLEAR_ELEMENT
(String id) static CommandPayload
CLICK_ELEMENT
(String id) static CommandPayload
DELETE_COOKIE
(String name) static CommandPayload
static CommandPayload
EXECUTE_ASYNC_SCRIPT
(String script, List<Object> args) static CommandPayload
EXECUTE_SCRIPT
(String script, List<Object> args) static CommandPayload
FIND_CHILD_ELEMENT
(String id, String strategy, String value) static CommandPayload
FIND_CHILD_ELEMENTS
(String id, String strategy, String value) static CommandPayload
FIND_ELEMENT
(String strategy, Object value) static CommandPayload
FIND_ELEMENT_FROM_SHADOW_ROOT
(String shadowId, String strategy, String value) static CommandPayload
FIND_ELEMENTS
(String strategy, Object value) static CommandPayload
FIND_ELEMENTS_FROM_SHADOW_ROOT
(String shadowId, String strategy, String value) static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
GET_ELEMENT_ATTRIBUTE
(String id, String name) static CommandPayload
GET_ELEMENT_DOM_ATTRIBUTE
(String id, String name) static CommandPayload
GET_ELEMENT_DOM_PROPERTY
(String id, String name) static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
GET_ELEMENT_VALUE_OF_CSS_PROPERTY
(String id, String name) static CommandPayload
IME_ACTIVATE_ENGINE
(String engine) static CommandPayload
static CommandPayload
static CommandPayload
static CommandPayload
NEW_SESSION
(Collection<Capabilities> capabilities) static CommandPayload
NEW_SESSION
(Capabilities capabilities) static CommandPayload
PRINT_PAGE
(PrintOptions options) static CommandPayload
SELECT_ACCOUNT
(int index) static CommandPayload
SEND_KEYS_TO_ELEMENT
(String id, CharSequence[] keysToSend) static CommandPayload
SET_ALERT_VALUE
(String keysToSend) static CommandPayload
SET_CURRENT_WINDOW_POSITION
(Point targetPosition) static CommandPayload
SET_CURRENT_WINDOW_SIZE
(Dimension targetSize) static CommandPayload
SET_DELAY_ENABLED
(boolean enabled) static CommandPayload
SET_IMPLICIT_WAIT_TIMEOUT
(long time, TimeUnit unit) Deprecated.static CommandPayload
SET_IMPLICIT_WAIT_TIMEOUT
(Duration duration) static CommandPayload
SET_PAGE_LOAD_TIMEOUT
(long time, TimeUnit unit) Deprecated.static CommandPayload
SET_PAGE_LOAD_TIMEOUT
(Duration duration) static CommandPayload
SET_SCRIPT_TIMEOUT
(long time, TimeUnit unit) Deprecated.static CommandPayload
SET_SCRIPT_TIMEOUT
(Duration duration) static CommandPayload
SUBMIT_ELEMENT
(String id) static CommandPayload
SWITCH_TO_FRAME
(Object frame) static CommandPayload
SWITCH_TO_NEW_WINDOW
(WindowType typeHint) static CommandPayload
SWITCH_TO_WINDOW
(String windowHandleOrName) static CommandPayload
UPLOAD_FILE
(String file)
-
Field Details
-
GET_CAPABILITIES
- See Also:
-
NEW_SESSION
- See Also:
-
STATUS
- See Also:
-
CLOSE
- See Also:
-
QUIT
- See Also:
-
GET
- See Also:
-
GO_BACK
- See Also:
-
GO_FORWARD
- See Also:
-
REFRESH
- See Also:
-
ADD_COOKIE
- See Also:
-
GET_ALL_COOKIES
- See Also:
-
GET_COOKIE
- See Also:
-
DELETE_COOKIE
- See Also:
-
DELETE_ALL_COOKIES
- See Also:
-
FIND_ELEMENT
- See Also:
-
FIND_ELEMENTS
- See Also:
-
FIND_CHILD_ELEMENT
- See Also:
-
FIND_CHILD_ELEMENTS
- See Also:
-
GET_ELEMENT_SHADOW_ROOT
- See Also:
-
FIND_ELEMENT_FROM_SHADOW_ROOT
- See Also:
-
FIND_ELEMENTS_FROM_SHADOW_ROOT
- See Also:
-
CLEAR_ELEMENT
- See Also:
-
CLICK_ELEMENT
- See Also:
-
SEND_KEYS_TO_ELEMENT
- See Also:
-
SUBMIT_ELEMENT
- See Also:
-
UPLOAD_FILE
- See Also:
-
GET_CURRENT_WINDOW_HANDLE
- See Also:
-
GET_WINDOW_HANDLES
- See Also:
-
SWITCH_TO_WINDOW
- See Also:
-
SWITCH_TO_NEW_WINDOW
- See Also:
-
SWITCH_TO_FRAME
- See Also:
-
SWITCH_TO_PARENT_FRAME
- See Also:
-
GET_ACTIVE_ELEMENT
- See Also:
-
GET_CURRENT_URL
- See Also:
-
GET_PAGE_SOURCE
- See Also:
-
GET_TITLE
- See Also:
-
EXECUTE_SCRIPT
- See Also:
-
EXECUTE_ASYNC_SCRIPT
- See Also:
-
GET_ELEMENT_TEXT
- See Also:
-
GET_ELEMENT_TAG_NAME
- See Also:
-
IS_ELEMENT_SELECTED
- See Also:
-
IS_ELEMENT_ENABLED
- See Also:
-
IS_ELEMENT_DISPLAYED
- See Also:
-
GET_ELEMENT_RECT
- See Also:
-
GET_ELEMENT_LOCATION
- See Also:
-
GET_ELEMENT_LOCATION_ONCE_SCROLLED_INTO_VIEW
- See Also:
-
GET_ELEMENT_SIZE
- See Also:
-
GET_ELEMENT_DOM_PROPERTY
- See Also:
-
GET_ELEMENT_DOM_ATTRIBUTE
- See Also:
-
GET_ELEMENT_ATTRIBUTE
- See Also:
-
GET_ELEMENT_VALUE_OF_CSS_PROPERTY
- See Also:
-
GET_ELEMENT_ARIA_ROLE
- See Also:
-
GET_ELEMENT_ACCESSIBLE_NAME
- See Also:
-
SCREENSHOT
- See Also:
-
ELEMENT_SCREENSHOT
- See Also:
-
ACCEPT_ALERT
- See Also:
-
DISMISS_ALERT
- See Also:
-
GET_ALERT_TEXT
- See Also:
-
SET_ALERT_VALUE
- See Also:
-
GET_TIMEOUTS
- See Also:
-
SET_TIMEOUT
- See Also:
-
PRINT_PAGE
- See Also:
-
IMPLICITLY_WAIT
- See Also:
-
SET_SCRIPT_TIMEOUT
- See Also:
-
GET_LOCATION
- See Also:
-
SET_LOCATION
- See Also:
-
GET_APP_CACHE
- See Also:
-
CLEAR_APP_CACHE
- See Also:
-
GET_LOCAL_STORAGE_ITEM
- See Also:
-
GET_LOCAL_STORAGE_KEYS
- See Also:
-
SET_LOCAL_STORAGE_ITEM
- See Also:
-
REMOVE_LOCAL_STORAGE_ITEM
- See Also:
-
CLEAR_LOCAL_STORAGE
- See Also:
-
GET_LOCAL_STORAGE_SIZE
- See Also:
-
GET_SESSION_STORAGE_ITEM
- See Also:
-
GET_SESSION_STORAGE_KEYS
- See Also:
-
SET_SESSION_STORAGE_ITEM
- See Also:
-
REMOVE_SESSION_STORAGE_ITEM
- See Also:
-
CLEAR_SESSION_STORAGE
- See Also:
-
GET_SESSION_STORAGE_SIZE
- See Also:
-
ACTIONS
- See Also:
-
CLEAR_ACTIONS_STATE
- See Also:
-
SET_CURRENT_WINDOW_POSITION
- See Also:
-
GET_CURRENT_WINDOW_POSITION
- See Also:
-
SET_CURRENT_WINDOW_SIZE
- See Also:
-
GET_CURRENT_WINDOW_SIZE
- See Also:
-
MAXIMIZE_CURRENT_WINDOW
- See Also:
-
MINIMIZE_CURRENT_WINDOW
- See Also:
-
FULLSCREEN_CURRENT_WINDOW
- See Also:
-
GET_AVAILABLE_LOG_TYPES
- See Also:
-
GET_LOG
- See Also:
-
GET_NETWORK_CONNECTION
- See Also:
-
SET_NETWORK_CONNECTION
- See Also:
-
ADD_VIRTUAL_AUTHENTICATOR
- See Also:
-
REMOVE_VIRTUAL_AUTHENTICATOR
- See Also:
-
ADD_CREDENTIAL
- See Also:
-
GET_CREDENTIALS
- See Also:
-
REMOVE_CREDENTIAL
- See Also:
-
REMOVE_ALL_CREDENTIALS
- See Also:
-
SET_USER_VERIFIED
- See Also:
-
CANCEL_DIALOG
- See Also:
-
SELECT_ACCOUNT
- See Also:
-
CLICK_DIALOG
- See Also:
-
GET_ACCOUNTS
- See Also:
-
GET_FEDCM_TITLE
- See Also:
-
GET_FEDCM_DIALOG_TYPE
- See Also:
-
SET_DELAY_ENABLED
- See Also:
-
RESET_COOLDOWN
- See Also:
-
GET_DOWNLOADABLE_FILES
- See Also:
-
DOWNLOAD_FILE
- See Also:
-
DELETE_DOWNLOADABLE_FILES
- See Also:
-
-
Method Details
-
NEW_SESSION
-
NEW_SESSION
-
GET
-
ADD_COOKIE
-
DELETE_COOKIE
-
FIND_ELEMENT
-
FIND_ELEMENTS
-
FIND_CHILD_ELEMENT
-
FIND_CHILD_ELEMENTS
-
GET_ELEMENT_SHADOW_ROOT
-
FIND_ELEMENT_FROM_SHADOW_ROOT
-
FIND_ELEMENTS_FROM_SHADOW_ROOT
static CommandPayload FIND_ELEMENTS_FROM_SHADOW_ROOT(String shadowId, String strategy, String value) -
CLEAR_ELEMENT
-
CLICK_ELEMENT
-
SEND_KEYS_TO_ELEMENT
-
SUBMIT_ELEMENT
-
UPLOAD_FILE
-
SWITCH_TO_WINDOW
-
SWITCH_TO_NEW_WINDOW
-
SWITCH_TO_FRAME
-
EXECUTE_SCRIPT
-
EXECUTE_ASYNC_SCRIPT
-
GET_ELEMENT_TEXT
-
GET_ELEMENT_TAG_NAME
-
IS_ELEMENT_SELECTED
-
IS_ELEMENT_ENABLED
-
IS_ELEMENT_DISPLAYED
-
GET_ELEMENT_RECT
-
GET_ELEMENT_LOCATION
-
GET_ELEMENT_LOCATION_ONCE_SCROLLED_INTO_VIEW
-
GET_ELEMENT_SIZE
-
GET_ELEMENT_DOM_PROPERTY
-
GET_ELEMENT_DOM_ATTRIBUTE
-
GET_ELEMENT_ATTRIBUTE
-
GET_ELEMENT_VALUE_OF_CSS_PROPERTY
-
GET_ELEMENT_ARIA_ROLE
-
GET_ELEMENT_ACCESSIBLE_NAME
-
ELEMENT_SCREENSHOT
-
SET_ALERT_VALUE
-
PRINT_PAGE
-
SET_IMPLICIT_WAIT_TIMEOUT
Deprecated. -
SET_IMPLICIT_WAIT_TIMEOUT
-
SET_SCRIPT_TIMEOUT
Deprecated. -
SET_SCRIPT_TIMEOUT
-
SET_PAGE_LOAD_TIMEOUT
Deprecated. -
SET_PAGE_LOAD_TIMEOUT
-
ACTIONS
-
IME_ACTIVATE_ENGINE
-
SET_CURRENT_WINDOW_POSITION
-
GET_CURRENT_WINDOW_POSITION
-
SET_CURRENT_WINDOW_SIZE
-
SELECT_ACCOUNT
-
SET_DELAY_ENABLED
-