Skip to content

Commit d945b5b

Browse files
committed
fix commands in element location section
1 parent 683ed45 commit d945b5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/nightwatchsnippets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@
142142
"getLocation": {
143143
"prefix": "nwgetLocation",
144144
"body": "getLocation(${1:selector}, ${2:callback})",
145-
"description": "getLocation(selector, callback)"
145+
"description": "Determine an element's location on the page"
146146
},
147147
"getLocationInView": {
148148
"prefix": "nwgetLocationInView",
149149
"body": "getLocationInView(${1:selector}, ${2:callback})",
150-
"description": "getLocationInView(selector, callback)"
150+
"description": "Determine an element's location on the screen once it has been scrolled into view"
151151
},
152152
"getTagName": {
153153
"prefix": "nwgetTagName",

0 commit comments

Comments
 (0)