1
1
{
2
- "clickWithCallback" : {
3
- "prefix" : " ckc" ,
4
- "body" : " click(${1:selector}, ${2:callback})$3" ,
5
- "description" : " click(selector,callback)"
6
- },
7
-
8
- "click" : {
9
- "prefix" : " ck" ,
10
- "body" : " click(${1:selector})$2" ,
11
- "description" : " click(selector)"
12
- }
13
-
2
+ "end" : {
3
+ "prefix" : " end" ,
4
+ "body" : " end(${0:optionalCallback})" ,
5
+ "description" : " end(optionalCallback)"
6
+ },
7
+ "pause" : {
8
+ "prefix" : " pause" ,
9
+ "body" : " pause(${0:1000ms}, ${1:optionalCallback})" ,
10
+ "description" : " pause(timems, optionalCallback)"
11
+ },
12
+ "perform" : {
13
+ "prefix" : " per" ,
14
+ "body" : " perform(${0:optionalCallback})" ,
15
+ "description" : " perform(optionalCallback)"
16
+ },
17
+ "useCss" : {
18
+ "prefix" : " usec" ,
19
+ "body" : " useCss(${0:optionalCallback})" ,
20
+ "description" : " useCss(optionalCallback"
21
+ },
22
+ "useXpath" : {
23
+ "prefix" : " usex" ,
24
+ "body" : " useXpath(${0:optionalCallback})" ,
25
+ "description" : " useXpath(optionalCallback)"
26
+ },
27
+ "switchWindow" : {
28
+ "prefix" : " swiw" ,
29
+ "body" : " switchWindow(${0:handleOrName}, ${1:optionalCallback})" ,
30
+ "description" : " switchWindow(handleOrName, optionalCallback)"
31
+ },
32
+ "resizeWindow" : {
33
+ "prefix" : " resw" ,
34
+ "body" : " resizeWindow(${0:width}, ${1:height}, ${2:optionalCallback})" ,
35
+ "description" : " resizeWindow(width, height, optionalCallback)"
36
+ },
37
+ "setWindowPosition" : {
38
+ "prefix" : " setw" ,
39
+ "body" : " setWindowPosition(${0:offsetX}, ${1:offsetY}, ${2:optionalCallback})" ,
40
+ "description" : " setWindowPosition(offsetX, offsetY, optionalCallback)"
41
+ },
42
+ "maximizeWindow" : {
43
+ "prefix" : " maxw" ,
44
+ "body" : " maximizeWindow(${0:optionalCallback})" ,
45
+ "description" : " maximizeWindow(optionalCallback)"
46
+ },
47
+ "saveScreenshot" : {
48
+ "prefix" : " saves" ,
49
+ "body" : " saveScreenshot(${0:fileName}, ${1:optionalCallback})" ,
50
+ "description" : " saveScreenshot(fileName, optionalCallback)"
51
+ },
52
+ "getTitle" : {
53
+ "prefix" : " gett" ,
54
+ "body" : " getTitle(${0:callback})" ,
55
+ "description" : " getTitle(callback)"
56
+ },
57
+ "closeWindow" : {
58
+ "prefix" : " clow" ,
59
+ "body" : " closeWindow(${0:optionalCallback})" ,
60
+ "description" : " closeWindow(optionalCallback)"
61
+ },
62
+ "init" : {
63
+ "prefix" : " in" ,
64
+ "body" : " init(${0:URL}, ${1:optionalCallback})" ,
65
+ "description" : " init(URL, optionalCallback)"
66
+ },
67
+ "urlHash" : {
68
+ "prefix" : " urlh" ,
69
+ "body" : " urlHash(${0:hash}, ${1:optionalCallback})" ,
70
+ "description" : " urlHash(hash, optionalCallback)"
71
+ },
72
+ "getCookies" : {
73
+ "prefix" : " getcs" ,
74
+ "body" : " getCookies(${0:callback})" ,
75
+ "description" : " getCookies(callback)"
76
+ },
77
+ "getCookie" : {
78
+ "prefix" : " getc" ,
79
+ "body" : " getCookie(${0:cookieName}, ${1:callback})" ,
80
+ "description" : " getCookie(cookieName, callback)"
81
+ },
82
+ "setCookie" : {
83
+ "prefix" : " setc" ,
84
+ "body" : " setCookie(${0:cookieObject}, ${1:optionalCallback})" ,
85
+ "description" : " setCookie(cookieObject, optionalCallback)"
86
+ },
87
+ "deleteCookie" : {
88
+ "prefix" : " delc" ,
89
+ "body" : " deleteCookie(${0:cookieName}, ${1:callback})" ,
90
+ "description" : " deleteCookie(cookieName, callback)"
91
+ },
92
+ "deleteCookies" : {
93
+ "prefix" : " delcs" ,
94
+ "body" : " deleteCookies(${0:optionalCallback})" ,
95
+ "description" : " deleteCookies(optionalCallback)"
96
+ },
97
+ "injectScript" : {
98
+ "prefix" : " injs" ,
99
+ "body" : " injectScript(${0:scriptUrl}, ${1:id}, ${2:optionalCallback})" ,
100
+ "description" : " injectScript(scriptUrl, id, optionalCallback)"
101
+ },
102
+ "getLogTypes" : {
103
+ "prefix" : " getlt" ,
104
+ "body" : " getLogTypes(${0:callback})" ,
105
+ "description" : " getLogTypes(callback)"
106
+ },
107
+ "getLog" : {
108
+ "prefix" : " getl" ,
109
+ "body" : " getLog(${0:typeString}, ${1:callback})" ,
110
+ "description" : " getLog(typeString, callback)"
111
+ },
112
+ "isLogAvailable" : {
113
+ "prefix" : " isla" ,
114
+ "body" : " isLogAvailable(${0:typeString}, ${1:callback})" ,
115
+ "description" : " isLogAvailable(typeString, callback)"
116
+ },
117
+ "click" : {
118
+ "prefix" : " cli" ,
119
+ "body" : " click(${0:selector}, ${1:optionalCallback})" ,
120
+ "description" : " click(selector, optionalCallback)"
121
+ },
122
+ "clearValue" : {
123
+ "prefix" : " clev" ,
124
+ "body" : " clearValue(${0:selector}, ${1:optionalCallback})" ,
125
+ "description" : " clearValue(selector, optionalCallback)"
126
+ },
127
+ "getAttribute" : {
128
+ "prefix" : " geta" ,
129
+ "body" : " getAttribute(${0:selector}, ${1:attribute}, ${2:callback})" ,
130
+ "description" : " getAttribute(selector, attribute, callback)"
131
+ },
132
+ "getCssProperty" : {
133
+ "prefix" : " getcp" ,
134
+ "body" : " getCssProperty(${0:selector}, ${1:cssProperty}, ${2:callback})" ,
135
+ "description" : " getCssProperty(selector, cssProperty, callback)"
136
+ },
137
+ "getElementSize" : {
138
+ "prefix" : " getes" ,
139
+ "body" : " getElementSize(${0:selector}, ${1:callback})" ,
140
+ "description" : " getElementSize(selector, callback)"
141
+ },
142
+ "getLocation" : {
143
+ "prefix" : " getl" ,
144
+ "body" : " getLocation(${0:selector}, ${1:callback})" ,
145
+ "description" : " getLocation(selector, callback)"
146
+ },
147
+ "getLocationInView" : {
148
+ "prefix" : " getlv" ,
149
+ "body" : " getLocationInView(${0:selector}, ${1:callback})" ,
150
+ "description" : " getLocationInView(selector, callback)"
151
+ },
152
+ "getTagName" : {
153
+ "prefix" : " getta" ,
154
+ "body" : " getTagName(${0:selector}, ${1:callback})" ,
155
+ "description" : " getTagName(selector, callback)"
156
+ },
157
+ "getText" : {
158
+ "prefix" : " gett" ,
159
+ "body" : " getText(${0:selector}, ${1:callback})" ,
160
+ "description" : " getText(selector, callback)"
161
+ },
162
+ "getValue" : {
163
+ "prefix" : " getv" ,
164
+ "body" : " getValue(${0:selector}, ${1:callback})" ,
165
+ "description" : " getValue(selector, callback)"
166
+ },
167
+ "isVisible" : {
168
+ "prefix" : " isv" ,
169
+ "body" : " isVisible(${0:selector}, ${1:callback})" ,
170
+ "description" : " isVisible(selector, callback)"
171
+ },
172
+ "moveToElement" : {
173
+ "prefix" : " movte" ,
174
+ "body" : " moveToElement(${0:selector}, ${1:xoffset}, ${2:yoffset}, ${3:optionalCallback})" ,
175
+ "description" : " moveToElement(selector, xoffset, yoffset, optionalCallback)"
176
+ },
177
+ "setValue" : {
178
+ "prefix" : " setv" ,
179
+ "body" : " setValue(${0:selector}, ${1:inputValue}, ${2:optionalCallback})" ,
180
+ "description" : " setValue(selector, inputValue, optionalCallback)"
181
+ },
182
+ "submitForm" : {
183
+ "prefix" : " subf" ,
184
+ "body" : " submitForm(${0:selector}, ${1:optionalCallback})" ,
185
+ "description" : " submitForm(selector, optionalCallback)"
186
+ },
187
+ "attributeContains" : {
188
+ "prefix" : " attc" ,
189
+ "body" : " attributeContains(${0:selector}, ${1:attribute}, ${2:expected}, ${3:optionalMessage})" ,
190
+ "description" : " attributeContains(selector, attribute, expected, optionalMessage)"
191
+ },
192
+ "attributeEquals" : {
193
+ "prefix" : " atte" ,
194
+ "body" : " attributeEquals(${0:selector}, ${1:attribute}, ${2:expected}, ${3:optionalMessage})" ,
195
+ "description" : " attributeEquals(selector, attribute, expected, optionalMessage)"
196
+ },
197
+ "containsText" : {
198
+ "prefix" : " contt" ,
199
+ "body" : " containsText(${0:selector}, ${1:expectedText}, ${2:optionalMessage})" ,
200
+ "description" : " containsText(selector, expectedText, optionalMessage)"
201
+ },
202
+ "cssClassNotPresent" : {
203
+ "prefix" : " csscnp" ,
204
+ "body" : " cssClassNotPresent(${0:selector}, ${1:className}, ${2:optionalMessage})" ,
205
+ "description" : " cssClassNotPresent(selector, className, optionalMessage)"
206
+ },
207
+ "cssClassPresent" : {
208
+ "prefix" : " csscp" ,
209
+ "body" : " cssClassPresent(${0:selector}, ${1:className}, ${2:optionalMessage})" ,
210
+ "description" : " cssClassPresent(selector, className, optionalMessage)"
211
+ },
212
+ "cssProperty" : {
213
+ "prefix" : " cssp" ,
214
+ "body" : " cssProperty(${0:selector}, ${1:cssProperty}, ${2:expected}, ${3:optionalMessage})" ,
215
+ "description" : " cssProperty(selector, cssProperty, expected, optionalMessage)"
216
+ },
217
+ "elementNotPresent" : {
218
+ "prefix" : " elemnp" ,
219
+ "body" : " elementNotPresent(${0:selector}, ${1:optionalMessage})" ,
220
+ "description" : " elementNotPresent(selector, optionalMessage)"
221
+ },
222
+ "elementPresent" : {
223
+ "prefix" : " elemp" ,
224
+ "body" : " elementPresent(${0:selector}, ${1:optionalMessage})" ,
225
+ "description" : " elementPresent(selector, optionalMessage)"
226
+ },
227
+ "hidden" : {
228
+ "prefix" : " hid" ,
229
+ "body" : " hidden(${0:selector}, ${1:optionalMessage})" ,
230
+ "description" : " hidden(selector, optionalMessage)"
231
+ },
232
+ "title" : {
233
+ "prefix" : " titl" ,
234
+ "body" : " title(${0:expected}, ${1:optionalMessage})" ,
235
+ "description" : " title(expected, optionalMessage)"
236
+ },
237
+ "titleContains" : {
238
+ "prefix" : " titlec" ,
239
+ "body" : " titleContains(${0:expected}, ${1:optionalMessage})" ,
240
+ "description" : " titleContains(expected, optionalMessage)"
241
+ },
242
+ "urlContains" : {
243
+ "prefix" : " urlc" ,
244
+ "body" : " urlContains(${0:expected}, ${1:optionalMessage})" ,
245
+ "description" : " urlContains(expected, optionalMessage)"
246
+ },
247
+ "urlEquals" : {
248
+ "prefix" : " urle" ,
249
+ "body" : " urlEquals(${0:expected}, ${1:optionalMessage})" ,
250
+ "description" : " urlEquals(expected, optionalMessage)"
251
+ },
252
+ "value" : {
253
+ "prefix" : " val" ,
254
+ "body" : " value(${0:expected}, ${1:optionalMessage})" ,
255
+ "description" : " value(expected, optionalMessage)"
256
+ },
257
+ "valueContains" : {
258
+ "prefix" : " valueco" ,
259
+ "body" : " valueContains(${0:selector}, ${1:expected}, ${2:optionalMessage})" ,
260
+ "description" : " valueContains(selector, expected, optionalMessage)"
261
+ },
262
+ "visible" : {
263
+ "prefix" : " visi" ,
264
+ "body" : " visible(${0:selector}, ${1:optionalMessage})" ,
265
+ "description" : " visible(selector, optionalMessage)"
266
+ },
267
+ "waitForElementNotPresent" : {
268
+ "prefix" : " waitenp" ,
269
+ "body" : " waitForElementNotPresent(${0:selector}, ${1:time})" ,
270
+ "description" : " waitForElementNotPresent(selector, time)"
271
+ },
272
+ "waitForElementNotVisible" : {
273
+ "prefix" : " waitenv" ,
274
+ "body" : " waitForElementNotVisible(${0:selector}, ${1:time})" ,
275
+ "description" : " waitForElementNotVisible(selector, time)"
276
+ },
277
+ "waitForElementPresent" : {
278
+ "prefix" : " waitep" ,
279
+ "body" : " waitForElementPresent(${0:selector}, ${1:time})" ,
280
+ "description" : " waitForElementPresent(selector, time)"
281
+ },
282
+ "waitForElementVisible" : {
283
+ "prefix" : " waitev" ,
284
+ "body" : " waitForElementVisible(${0:selector}, ${1:time})" ,
285
+ "description" : " waitForElementVisible(selector, time)"
286
+ }
14
287
}
0 commit comments