File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 571
571
},
572
572
"pause" : {
573
573
"prefix" : " nwpause" ,
574
- "body" : " pause(${1:2111ms }, ${2:optionalCallback})" ,
575
- "description" : " pause(timeInMs, optionalCallback) "
574
+ "body" : " pause(${1:ms }, ${2:optionalCallback})" ,
575
+ "description" : " Suspends the test for the given time in milliseconds "
576
576
},
577
577
"useCss" : {
578
578
"prefix" : " nwuseCss" ,
579
579
"body" : " useCss(${1:optionalCallback})" ,
580
- "description" : " useCss(optionalCallback "
580
+ "description" : " Sets the locate strategy for selectors to css selector "
581
581
},
582
582
"useXpath" : {
583
583
"prefix" : " nwuseXpath" ,
584
584
"body" : " useXpath(${1:optionalCallback})" ,
585
- "description" : " useXpath(optionalCallback) "
585
+ "description" : " Sets the locate strategy for selectors to xpath "
586
586
},
587
587
"perform" : {
588
588
"prefix" : " nwperform" ,
589
- "body" : " perform(${1:optionalCallback })" ,
590
- "description" : " perform(optionalCallback) "
589
+ "body" : " perform(${1:callback })" ,
590
+ "description" : " A simple perform command which allows access to the Nightwatch API in a callback "
591
591
}
592
592
}
You can’t perform that action at this time.
0 commit comments