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 571571 },
572572 "pause" : {
573573 "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 "
576576 },
577577 "useCss" : {
578578 "prefix" : " nwuseCss" ,
579579 "body" : " useCss(${1:optionalCallback})" ,
580- "description" : " useCss(optionalCallback "
580+ "description" : " Sets the locate strategy for selectors to css selector "
581581 },
582582 "useXpath" : {
583583 "prefix" : " nwuseXpath" ,
584584 "body" : " useXpath(${1:optionalCallback})" ,
585- "description" : " useXpath(optionalCallback) "
585+ "description" : " Sets the locate strategy for selectors to xpath "
586586 },
587587 "perform" : {
588588 "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 "
591591 }
592592}
You can’t perform that action at this time.
0 commit comments