FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
php-webdriver/lib/Remote/DriverCommand.php at main · php-webdriver/php-webdriver · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
php-webdriver
/
php-webdriver
Public
Notifications
You must be signed in to change notification settings
Fork
842
Star
5.2k
Code
Issues
21
Pull requests
9
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
php-webdriver
/
lib
/
Remote
/
DriverCommand.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
153 lines (149 loc) · 7.19 KB
Breadcrumbs
php-webdriver
/
lib
/
Remote
/
DriverCommand.php
Copy path
File metadata and controls
153 lines (149 loc) · 7.19 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?php
namespace
Facebook
\
WebDriver
\
Remote
;
/**
* This list of command defined in the WebDriver json wire protocol.
*
* @codeCoverageIgnore
*/
class
DriverCommand
{
public
const
GET_ALL_SESSIONS
=
'
getAllSessions
'
;
public
const
GET_CAPABILITIES
=
'
getCapabilities
'
;
public
const
NEW_SESSION
=
'
newSession
'
;
public
const
STATUS
=
'
status
'
;
public
const
CLOSE
=
'
close
'
;
public
const
QUIT
=
'
quit
'
;
public
const
GET
=
'
get
'
;
public
const
GO_BACK
=
'
goBack
'
;
public
const
GO_FORWARD
=
'
goForward
'
;
public
const
REFRESH
=
'
refresh
'
;
public
const
ADD_COOKIE
=
'
addCookie
'
;
public
const
GET_ALL_COOKIES
=
'
getCookies
'
;
public
const
DELETE_COOKIE
=
'
deleteCookie
'
;
public
const
DELETE_ALL_COOKIES
=
'
deleteAllCookies
'
;
public
const
FIND_ELEMENT
=
'
findElement
'
;
public
const
FIND_ELEMENTS
=
'
findElements
'
;
public
const
FIND_CHILD_ELEMENT
=
'
findChildElement
'
;
public
const
FIND_CHILD_ELEMENTS
=
'
findChildElements
'
;
public
const
CLEAR_ELEMENT
=
'
clearElement
'
;
public
const
CLICK_ELEMENT
=
'
clickElement
'
;
public
const
SEND_KEYS_TO_ELEMENT
=
'
sendKeysToElement
'
;
public
const
SEND_KEYS_TO_ACTIVE_ELEMENT
=
'
sendKeysToActiveElement
'
;
public
const
SUBMIT_ELEMENT
=
'
submitElement
'
;
public
const
UPLOAD_FILE
=
'
uploadFile
'
;
public
const
GET_CURRENT_WINDOW_HANDLE
=
'
getCurrentWindowHandle
'
;
public
const
GET_WINDOW_HANDLES
=
'
getWindowHandles
'
;
public
const
GET_CURRENT_CONTEXT_HANDLE
=
'
getCurrentContextHandle
'
;
public
const
GET_CONTEXT_HANDLES
=
'
getContextHandles
'
;
// Switching between to window/frame/iframe
public
const
SWITCH_TO_WINDOW
=
'
switchToWindow
'
;
public
const
SWITCH_TO_CONTEXT
=
'
switchToContext
'
;
public
const
SWITCH_TO_FRAME
=
'
switchToFrame
'
;
public
const
SWITCH_TO_PARENT_FRAME
=
'
switchToParentFrame
'
;
public
const
GET_ACTIVE_ELEMENT
=
'
getActiveElement
'
;
// Information of the page
public
const
GET_CURRENT_URL
=
'
getCurrentUrl
'
;
public
const
GET_PAGE_SOURCE
=
'
getPageSource
'
;
public
const
GET_TITLE
=
'
getTitle
'
;
// Javascript API
public
const
EXECUTE_SCRIPT
=
'
executeScript
'
;
public
const
EXECUTE_ASYNC_SCRIPT
=
'
executeAsyncScript
'
;
// API getting information from an element.
public
const
GET_ELEMENT_TEXT
=
'
getElementText
'
;
public
const
GET_ELEMENT_TAG_NAME
=
'
getElementTagName
'
;
public
const
IS_ELEMENT_SELECTED
=
'
isElementSelected
'
;
public
const
IS_ELEMENT_ENABLED
=
'
isElementEnabled
'
;
public
const
IS_ELEMENT_DISPLAYED
=
'
isElementDisplayed
'
;
public
const
GET_ELEMENT_LOCATION
=
'
getElementLocation
'
;
public
const
GET_ELEMENT_LOCATION_ONCE_SCROLLED_INTO_VIEW
=
'
getElementLocationOnceScrolledIntoView
'
;
public
const
GET_ELEMENT_SIZE
=
'
getElementSize
'
;
public
const
GET_ELEMENT_ATTRIBUTE
=
'
getElementAttribute
'
;
public
const
GET_ELEMENT_VALUE_OF_CSS_PROPERTY
=
'
getElementValueOfCssProperty
'
;
public
const
ELEMENT_EQUALS
=
'
elementEquals
'
;
public
const
SCREENSHOT
=
'
screenshot
'
;
// Alert API
public
const
ACCEPT_ALERT
=
'
acceptAlert
'
;
public
const
DISMISS_ALERT
=
'
dismissAlert
'
;
public
const
GET_ALERT_TEXT
=
'
getAlertText
'
;
public
const
SET_ALERT_VALUE
=
'
setAlertValue
'
;
// Timeout API
public
const
SET_TIMEOUT
=
'
setTimeout
'
;
public
const
IMPLICITLY_WAIT
=
'
implicitlyWait
'
;
public
const
SET_SCRIPT_TIMEOUT
=
'
setScriptTimeout
'
;
/** @deprecated */
public
const
EXECUTE_SQL
=
'
executeSQL
'
;
public
const
GET_LOCATION
=
'
getLocation
'
;
public
const
SET_LOCATION
=
'
setLocation
'
;
public
const
GET_APP_CACHE
=
'
getAppCache
'
;
public
const
GET_APP_CACHE_STATUS
=
'
getStatus
'
;
public
const
CLEAR_APP_CACHE
=
'
clearAppCache
'
;
public
const
IS_BROWSER_ONLINE
=
'
isBrowserOnline
'
;
public
const
SET_BROWSER_ONLINE
=
'
setBrowserOnline
'
;
// Local storage
public
const
GET_LOCAL_STORAGE_ITEM
=
'
getLocalStorageItem
'
;
public
const
GET_LOCAL_STORAGE_KEYS
=
'
getLocalStorageKeys
'
;
public
const
SET_LOCAL_STORAGE_ITEM
=
'
setLocalStorageItem
'
;
public
const
REMOVE_LOCAL_STORAGE_ITEM
=
'
removeLocalStorageItem
'
;
public
const
CLEAR_LOCAL_STORAGE
=
'
clearLocalStorage
'
;
public
const
GET_LOCAL_STORAGE_SIZE
=
'
getLocalStorageSize
'
;
// Session storage
public
const
GET_SESSION_STORAGE_ITEM
=
'
getSessionStorageItem
'
;
public
const
GET_SESSION_STORAGE_KEYS
=
'
getSessionStorageKey
'
;
public
const
SET_SESSION_STORAGE_ITEM
=
'
setSessionStorageItem
'
;
public
const
REMOVE_SESSION_STORAGE_ITEM
=
'
removeSessionStorageItem
'
;
public
const
CLEAR_SESSION_STORAGE
=
'
clearSessionStorage
'
;
public
const
GET_SESSION_STORAGE_SIZE
=
'
getSessionStorageSize
'
;
// Screen orientation
public
const
SET_SCREEN_ORIENTATION
=
'
setScreenOrientation
'
;
public
const
GET_SCREEN_ORIENTATION
=
'
getScreenOrientation
'
;
// These belong to the Advanced user interactions - an element is optional for these commands.
public
const
CLICK
=
'
mouseClick
'
;
public
const
DOUBLE_CLICK
=
'
mouseDoubleClick
'
;
public
const
MOUSE_DOWN
=
'
mouseButtonDown
'
;
public
const
MOUSE_UP
=
'
mouseButtonUp
'
;
public
const
MOVE_TO
=
'
mouseMoveTo
'
;
// Those allow interactions with the Input Methods installed on the system.
public
const
IME_GET_AVAILABLE_ENGINES
=
'
imeGetAvailableEngines
'
;
public
const
IME_GET_ACTIVE_ENGINE
=
'
imeGetActiveEngine
'
;
public
const
IME_IS_ACTIVATED
=
'
imeIsActivated
'
;
public
const
IME_DEACTIVATE
=
'
imeDeactivate
'
;
public
const
IME_ACTIVATE_ENGINE
=
'
imeActivateEngine
'
;
// These belong to the Advanced Touch API
public
const
TOUCH_SINGLE_TAP
=
'
touchSingleTap
'
;
public
const
TOUCH_DOWN
=
'
touchDown
'
;
public
const
TOUCH_UP
=
'
touchUp
'
;
public
const
TOUCH_MOVE
=
'
touchMove
'
;
public
const
TOUCH_SCROLL
=
'
touchScroll
'
;
public
const
TOUCH_DOUBLE_TAP
=
'
touchDoubleTap
'
;
public
const
TOUCH_LONG_PRESS
=
'
touchLongPress
'
;
public
const
TOUCH_FLICK
=
'
touchFlick
'
;
// Window API (beta)
public
const
SET_WINDOW_SIZE
=
'
setWindowSize
'
;
public
const
SET_WINDOW_POSITION
=
'
setWindowPosition
'
;
public
const
GET_WINDOW_SIZE
=
'
getWindowSize
'
;
public
const
GET_WINDOW_POSITION
=
'
getWindowPosition
'
;
public
const
MAXIMIZE_WINDOW
=
'
maximizeWindow
'
;
public
const
FULLSCREEN_WINDOW
=
'
fullscreenWindow
'
;
// Logging API
public
const
GET_AVAILABLE_LOG_TYPES
=
'
getAvailableLogTypes
'
;
public
const
GET_LOG
=
'
getLog
'
;
public
const
GET_SESSION_LOGS
=
'
getSessionLogs
'
;
// Mobile API
public
const
GET_NETWORK_CONNECTION
=
'
getNetworkConnection
'
;
public
const
SET_NETWORK_CONNECTION
=
'
setNetworkConnection
'
;
// Custom command
public
const
CUSTOM_COMMAND
=
'
customCommand
'
;
// W3C specific
public
const
ACTIONS
=
'
actions
'
;
public
const
GET_ELEMENT_PROPERTY
=
'
getElementProperty
'
;
public
const
GET_NAMED_COOKIE
=
'
getNamedCookie
'
;
public
const
NEW_WINDOW
=
'
newWindow
'
;
public
const
TAKE_ELEMENT_SCREENSHOT
=
'
takeElementScreenshot
'
;
public
const
MINIMIZE_WINDOW
=
'
minimizeWindow
'
;
public
const
GET_ELEMENT_SHADOW_ROOT
=
'
getElementShadowRoot
'
;
public
const
FIND_ELEMENT_FROM_SHADOW_ROOT
=
'
findElementFromShadowRoot
'
;
public
const
FIND_ELEMENTS_FROM_SHADOW_ROOT
=
'
findElementsFromShadowRoot
'
;
private
function
__construct
()
{
}
}
Back
|
FazBrowse Home
|
New Git URL