|
15 | 15 |
|
16 | 16 | ## Assert/Verify |
17 | 17 |
|
18 | | -* **attributeContains**(selector, attribute, expected, optionalMessage)\ |
19 | | -* **attributeEquals**(selector, attribute, expected, optionalMessage)\ |
20 | | -* **containsText**(selector, expectedText, optionalMessage)\ |
21 | | -* **cssClassPresent**(selector, className, optionalMessage)\ |
22 | | -* **cssClassNotPresent**(selector, className, optionalMessage)\ |
23 | | -* **cssProperty**(selector, cssProperty, expected, optionalMessage)\ |
24 | | -* **elementPresent**(selector, optionalMessage)\ |
25 | | -* **elementNotPresent**(selector, optionalMessage)\ |
26 | | -* **hidden**(selector, optionalMessage)\ |
27 | | -* **title**(expected, optionalMessage)\ |
28 | | -* **titleContains**(expected, optionalMessage)\ |
29 | | -* **urlContains**(expectedText, optionalMessage)\ |
30 | | -* **urlEquals**(expected, optionalMessage)\ |
31 | | -* **value**(expectedText, optionalMessage)\ |
32 | | -* **valueContains**(selector, expectedText, optionalMessage)\ |
| 18 | +* **attributeContains**(selector, attribute, expected, optionalMessage) |
| 19 | +* **attributeEquals**(selector, attribute, expected, optionalMessage) |
| 20 | +* **containsText**(selector, expectedText, optionalMessage) |
| 21 | +* **cssClassPresent**(selector, className, optionalMessage) |
| 22 | +* **cssClassNotPresent**(selector, className, optionalMessage) |
| 23 | +* **cssProperty**(selector, cssProperty, expected, optionalMessage) |
| 24 | +* **elementPresent**(selector, optionalMessage) |
| 25 | +* **elementNotPresent**(selector, optionalMessage) |
| 26 | +* **hidden**(selector, optionalMessage) |
| 27 | +* **title**(expected, optionalMessage) |
| 28 | +* **titleContains**(expected, optionalMessage) |
| 29 | +* **urlContains**(expectedText, optionalMessage) |
| 30 | +* **urlEquals**(expected, optionalMessage) |
| 31 | +* **value**(expectedText, optionalMessage) |
| 32 | +* **valueContains**(selector, expectedText, optionalMessage) |
33 | 33 | * **visible**(selector, optionalMessage) |
34 | 34 |
|
35 | 35 | ## Finding Elements |
36 | 36 |
|
37 | | -* **waitForElementNotVisible**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage)\ |
38 | | -* **waitForElementNotPresent**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage)\ |
39 | | -* **waitForElementPresent**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage)\ |
40 | | -* **waitForElementVisible**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage)\ |
41 | | -* **element**(using, value, callback)\ |
42 | | -* **elements**(using, value, callback)\ |
43 | | -* **elementIdEquals**(webElementId, otherId, callback)\ |
44 | | -* **elementIdElement**(webElementId, using, value, callback)\ |
| 37 | +* **waitForElementNotVisible**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage) |
| 38 | +* **waitForElementNotPresent**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage) |
| 39 | +* **waitForElementPresent**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage) |
| 40 | +* **waitForElementVisible**(optionalUsing, selector, optionalWaitForConditionTimeout, optionalWaitForConditionPollInterval, optionalAbortOnAssertionFailure, optionalCallback, optionalMessage) |
| 41 | +* **element**(using, value, callback) |
| 42 | +* **elements**(using, value, callback) |
| 43 | +* **elementIdEquals**(webElementId, otherId, callback) |
| 44 | +* **elementIdElement**(webElementId, using, value, callback) |
45 | 45 | * **elementIdElements**(webElementId, using, value, callback) |
46 | 46 |
|
47 | 47 | ## Element Interaction |
48 | 48 |
|
49 | | -* **click**(optionalUsing, selector, optionalCallback)\ |
50 | | -* **clearValue**(selector, optionalCallback)\ |
51 | | -* **moveToElement**(selector, xoffset, yoffset, optionalCallback)\ |
52 | | -* **setValue**(selector, inputValue, optionalCallback)\ |
53 | | -* **submitForm**(selector, optionalCallback)\ |
| 49 | +* **click**(optionalUsing, selector, optionalCallback) |
| 50 | +* **clearValue**(selector, optionalCallback) |
| 51 | +* **moveToElement**(selector, xoffset, yoffset, optionalCallback) |
| 52 | +* **setValue**(selector, inputValue, optionalCallback) |
| 53 | +* **submitForm**(selector, optionalCallback) |
54 | 54 | * **keys**(keysToSend, optionalCallback) |
55 | 55 |
|
56 | 56 | ## Element State |
57 | 57 |
|
58 | | -* **getAttribute**(selector, attribute, callback)\ |
59 | | -* **getCssProperty**(selector, cssProperty, callback)\ |
60 | | -* **getElementSize**(selector, callback)\ |
61 | | -* **getTagName**(selector, callback)\ |
62 | | -* **getText**(optionalUsing, selector, callback)\ |
63 | | -* **getValue**(selector, callback)\ |
64 | | -* **isVisible**(selector, callback)\ |
| 58 | +* **getAttribute**(selector, attribute, callback) |
| 59 | +* **getCssProperty**(selector, cssProperty, callback) |
| 60 | +* **getElementSize**(selector, callback) |
| 61 | +* **getTagName**(selector, callback) |
| 62 | +* **getText**(optionalUsing, selector, callback) |
| 63 | +* **getValue**(selector, callback) |
| 64 | +* **isVisible**(selector, callback) |
65 | 65 | * **elementActive**(callback) |
66 | 66 |
|
67 | 67 | ## Element Location |
68 | 68 |
|
69 | | -* **getLocation**(selector, callback)\ |
| 69 | +* **getLocation**(selector, callback) |
70 | 70 | * **getLocationInView**(selector, callback) |
71 | 71 |
|
72 | 72 | ## Protocol Element Commands |
73 | 73 |
|
74 | | -* **elementIdAttribute**(webElementId, attributeName, callback)\ |
75 | | -* **elementIdCssProperty**(webElementId, cssPropertyName, callback)\ |
76 | | -* **elementIdClear**(webElementId, optionalCallback)\ |
77 | | -* **elementIdClick**(webElementId, optionalCallback)\ |
78 | | -* **elementIdDisplayed**(webElementId, callback)\ |
79 | | -* **elementIdEnabled**(webElementId, callback)\ |
80 | | -* **elementIdLocationInView**(webElementId, optionalCallback)\ |
81 | | -* **elementIdLocation**(webElementId, callback)\ |
82 | | -* **elementIdName**(webElementId, callback)\ |
83 | | -* **elementIdSelected**(webElementId, callback)\ |
84 | | -* **elementIdSize**(webElementId, callback)\ |
85 | | -* **elementIdText**(webElementId, callback)\ |
86 | | -* **elementIdValue**(webElementId, optionalValue, callback)\ |
| 74 | +* **elementIdAttribute**(webElementId, attributeName, callback) |
| 75 | +* **elementIdCssProperty**(webElementId, cssPropertyName, callback) |
| 76 | +* **elementIdClear**(webElementId, optionalCallback) |
| 77 | +* **elementIdClick**(webElementId, optionalCallback) |
| 78 | +* **elementIdDisplayed**(webElementId, callback) |
| 79 | +* **elementIdEnabled**(webElementId, callback) |
| 80 | +* **elementIdLocationInView**(webElementId, optionalCallback) |
| 81 | +* **elementIdLocation**(webElementId, callback) |
| 82 | +* **elementIdName**(webElementId, callback) |
| 83 | +* **elementIdSelected**(webElementId, callback) |
| 84 | +* **elementIdSize**(webElementId, callback) |
| 85 | +* **elementIdText**(webElementId, callback) |
| 86 | +* **elementIdValue**(webElementId, optionalValue, callback) |
87 | 87 | * **submit**(webElementId, optionalCallback) |
88 | 88 |
|
89 | 89 | ## Document Handling |
90 | 90 |
|
91 | | -* **injectScript**(scriptUrl, optionalId, optionalCallback)\ |
92 | | -* **execute**(body, args, optionalCallback) - future release\ |
93 | | -* **executeAsync**(script, args, optionalCallback) - future release\ |
94 | | -* **source**(callback) - future release |
| 91 | +* **injectScript**(scriptUrl, optionalId, optionalCallback) |
| 92 | +* **execute**(body, args, optionalCallback) - **future release** |
| 93 | +* **executeAsync**(script, args, optionalCallback) - **future release** |
| 94 | +* **source**(callback) - **future release** |
95 | 95 |
|
96 | 96 | ## Sessions |
97 | 97 |
|
98 | | -* **end**(optionalCallback)\ |
99 | | -* **getLogTypes**(callback)\ |
100 | | -* **getLog**(typeString, callback)\ |
101 | | -* **isLogAvailable**(typeString, callback)\ |
102 | | -* **session**(optionalAction, optionalSessionId, optionalCallback) - future release\ |
103 | | -* **sessions**(callback) - future release\ |
104 | | -* **timeouts**(type, ms, optionalCallback) - future release\ |
105 | | -* **timeoutsAsyncScript**(ms, optionalCallback) - future release\ |
106 | | -* **timeoutsImplicitWait**(ms, optionalCallback) - future release\ |
107 | | -* **status**(callback) - future release\ |
108 | | -* **sessionLog**(typeString, callback) - future release\ |
109 | | -* **sessionLogTypes**(callback) - future release |
| 98 | +* **end**(optionalCallback) |
| 99 | +* **getLogTypes**(callback) |
| 100 | +* **getLog**(typeString, callback) |
| 101 | +* **isLogAvailable**(typeString, callback) |
| 102 | +* **session**(optionalAction, optionalSessionId, optionalCallback) - **future release** |
| 103 | +* **sessions**(callback) - **future release** |
| 104 | +* **timeouts**(type, ms, optionalCallback) - **future release** |
| 105 | +* **timeoutsAsyncScript**(ms, optionalCallback) - **future release** |
| 106 | +* **timeoutsImplicitWait**(ms, optionalCallback) - **future release** |
| 107 | +* **status**(callback) - **future release** |
| 108 | +* **sessionLog**(typeString, callback) - **future release** |
| 109 | +* **sessionLogTypes**(callback) - **future release** |
110 | 110 |
|
111 | 111 | ## Navigation |
112 | 112 |
|
113 | | -* **init**(optionalURL, optionalCallback)\ |
114 | | -* **getTitle**(callback)\ |
115 | | -* **urlHash**(hash, optionalCallback)\ |
116 | | -* **url**(optionalURL, optionalCallback) - future release\ |
117 | | -* **back**(optionalCallback) - future release\ |
118 | | -* **forward**(optionalCallback) - future release\ |
119 | | -* **refresh**(optionalCallback) - future release\ |
120 | | -* **title**(callback) - future release |
| 113 | +* **init**(optionalURL, optionalCallback) |
| 114 | +* **getTitle**(callback) |
| 115 | +* **urlHash**(hash, optionalCallback) |
| 116 | +* **url**(optionalURL, optionalCallback) - **future release** |
| 117 | +* **back**(optionalCallback) - **future release** |
| 118 | +* **forward**(optionalCallback) - **future release** |
| 119 | +* **refresh**(optionalCallback) - **future release** |
| 120 | +* **title**(callback) - **future release** |
121 | 121 |
|
122 | 122 | ## Window Related |
123 | 123 |
|
124 | | -* **closeWindow**(optionalCallback)\ |
125 | | -* **resizeWindow**(width, height, optionalCallback)\ |
126 | | -* **maximizeWindow**(optionalCallback)\ |
127 | | -* **switchWindow**(handleOrName, optionalCallback)\ |
128 | | -* **setWindowPosition**(offsetX, offsetY, optionalCallback)\ |
129 | | -* **window**(method, handleOrName, optionalCallback) - future release\ |
130 | | -* **windowHandle**(callback) - future release\ |
131 | | -* **windowHandles**(callback) - future release\ |
132 | | -* **windowMaximize**(optionalHandleOrName, optionalCallback) - future release\ |
133 | | -* **windowPosition**(windowHandle, offsetX, offsetY, callback) - future release\ |
134 | | -* **windowSize**(windowHandle, width, height, optionalCallback) - future release\ |
135 | | -* **frame**(optionalFrameID, optionalCallback) - future release\ |
136 | | -* **frameParent**(optionalCallback) - future release |
| 124 | +* **closeWindow**(optionalCallback) |
| 125 | +* **resizeWindow**(width, height, optionalCallback) |
| 126 | +* **maximizeWindow**(optionalCallback) |
| 127 | +* **switchWindow**(handleOrName, optionalCallback) |
| 128 | +* **setWindowPosition**(offsetX, offsetY, optionalCallback) |
| 129 | +* **window**(method, handleOrName, optionalCallback) - **future release** |
| 130 | +* **windowHandle**(callback) - **future release** |
| 131 | +* **windowHandles**(callback) - **future release** |
| 132 | +* **windowMaximize**(optionalHandleOrName, optionalCallback) - **future release** |
| 133 | +* **windowPosition**(windowHandle, offsetX, offsetY, callback) - **future release** |
| 134 | +* **windowSize**(windowHandle, width, height, optionalCallback) - **future release** |
| 135 | +* **frame**(optionalFrameID, optionalCallback) - **future release** |
| 136 | +* **frameParent**(optionalCallback) - **future release** |
137 | 137 |
|
138 | 138 | ## Cookies |
139 | 139 |
|
140 | | -* **getCookies**(callback)\ |
141 | | -* **getCookie**(cookieName, callback)\ |
142 | | -* **setCookie**(cookie object, optionalCallback)\ |
143 | | -* **deleteCookie**(cookieName, optionalCallback)\ |
144 | | -* **deleteCookies**(optionalCallback)\ |
145 | | -* **cookie**(method, optionalCallbackOrCookie) - future release |
| 140 | +* **getCookies**(callback) |
| 141 | +* **getCookie**(cookieName, callback) |
| 142 | +* **setCookie**(cookie object, optionalCallback) |
| 143 | +* **deleteCookie**(cookieName, optionalCallback) |
| 144 | +* **deleteCookies**(optionalCallback) |
| 145 | +* **cookie**(method, optionalCallbackOrCookie) - **future release** |
146 | 146 |
|
147 | 147 | ## User Actions |
148 | 148 |
|
149 | | -* **doubleClick**(optionalCallback) - future release\ |
150 | | -* **mouseButtonClick**(button, optionalCallback) - future release\ |
151 | | -* **mouseButtonDown**(button, optionalCallback) - future release\ |
152 | | -* **mouseButtonUp**(button, optionalCallback) - future release\ |
153 | | -* **moveTo**(optionalWebElementId, xoffset, yoffset, optionalCallback) - future release |
| 149 | +* **doubleClick**(optionalCallback) - **future release** |
| 150 | +* **mouseButtonClick**(button, optionalCallback) - **future release** |
| 151 | +* **mouseButtonDown**(button, optionalCallback) - **future release** |
| 152 | +* **mouseButtonUp**(button, optionalCallback) - **future release** |
| 153 | +* **moveTo**(optionalWebElementId, xoffset, yoffset, optionalCallback) - **future release** |
154 | 154 |
|
155 | 155 | ## User Prompts |
156 | 156 |
|
157 | | -* **acceptAlert**(optionalCallback) - future release\ |
158 | | -* **dismissAlert**(optionalCallback) - future release\ |
159 | | -* **getAlertText**(callback) - future release\ |
160 | | -* **setAlertText**(value, optionalCallback) - future release |
| 157 | +* **acceptAlert**(optionalCallback) - **future release** |
| 158 | +* **dismissAlert**(optionalCallback) - **future release** |
| 159 | +* **getAlertText**(callback) - **future release** |
| 160 | +* **setAlertText**(value, optionalCallback) - **future release** |
161 | 161 |
|
162 | 162 | ## Screen Capture |
163 | 163 |
|
164 | | -* **saveScreenshot**(fileName, optionalCallback) - future release\ |
165 | | -* **screenshot**(log_screenshot_data, callback) - future release |
| 164 | +* **saveScreenshot**(fileName, optionalCallback) - **future release** |
| 165 | +* **screenshot**(log_screenshot_data, callback) - **future release** |
166 | 166 |
|
167 | 167 | ## Mobile Related |
168 | 168 |
|
169 | | -* **getOrientation**(callback) - future release\ |
170 | | -* **setOrientation**(orientation, optionalCallback) - future release\ |
171 | | -* **contexts**(callback) - future release\ |
172 | | -* **currentContext**(callback) - future release\ |
173 | | -* **setContext**(context, optionalCallback) - future release |
| 169 | +* **getOrientation**(callback) - **future release** |
| 170 | +* **setOrientation**(orientation, optionalCallback) - **future release** |
| 171 | +* **contexts**(callback) - **future release** |
| 172 | +* **currentContext**(callback) - **future release** |
| 173 | +* **setContext**(context, optionalCallback) - **future release** |
174 | 174 |
|
175 | 175 | ## Utilities / Debugging |
176 | 176 |
|
177 | | -* **pause**(ms, optionalCallback)\ |
178 | | -* **useCss**(optionalCallback)\ |
179 | | -* **useXpath**(optionalCallback)\ |
| 177 | +* **pause**(ms, optionalCallback) |
| 178 | +* **useCss**(optionalCallback) |
| 179 | +* **useXpath**(optionalCallback) |
180 | 180 | * **perform**(callback) |
0 commit comments