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