266266 },
267267 "waitForElementNotPresent" : {
268268 "prefix" : " nwwaitForElementNotPresent" ,
269- "body" : " waitForElementNotPresent(${1:selector }, ${2:time })" ,
270- "description" : " waitForElementNotPresent(selector, time) "
269+ "body" : " waitForElementNotPresent(${1:optionalUsing }, ${2:selector}, ${3:optionalWaitForConditionTimeout}, ${4:optionalWaitForConditionPollInterval}, ${5:optionalAbortOnAssertionFailure}, ${6:optionalCallback}, ${7:optionalMessage })" ,
270+ "description" : " Waits a given time in milliseconds (default 5000ms) for an element to be not present "
271271 },
272272 "waitForElementNotVisible" : {
273273 "prefix" : " nwwaitForElementNotVisible" ,
274- "body" : " waitForElementNotVisible(${1:selector }, ${2:time })" ,
275- "description" : " waitForElementNotVisible(selector, time) "
274+ "body" : " waitForElementNotVisible(${1:optionalUsing }, ${2:selector}, ${3:optionalWaitForConditionTimeout}, ${4:optionalWaitForConditionPollInterval}, ${5:optionalAbortOnAssertionFailure}, ${6:optionalCallback}, ${7:optionalMessage })" ,
275+ "description" : " Waits a given time in milliseconds (default 5000ms) for an element to be not visible "
276276 },
277277 "waitForElementPresent" : {
278278 "prefix" : " nwwaitForElementPresent" ,
279- "body" : " waitForElementPresent(${1:selector }, ${2:time })" ,
280- "description" : " waitForElementPresent(selector, time) "
279+ "body" : " waitForElementPresent(${1:optionalUsing }, ${2:selector}, ${3:optionalWaitForConditionTimeout}, ${4:optionalWaitForConditionPollInterval}, ${5:optionalAbortOnAssertionFailure}, ${6:optionalCallback}, ${7:optionalMessage })" ,
280+ "description" : " Waits a given time in milliseconds (default 5000ms) for an element to be present in the page "
281281 },
282- "waitForElementVisible" : {
282+ "waitForElementVisible" : {
283283 "prefix" : " nwwaitForElementVisible" ,
284- "body" : " waitForElementVisible(${1:selector}, ${2:time})" ,
285- "description" : " waitForElementVisible(selector, time)"
286- }
284+ "body" : " waitForElementVisible(${1:optionalUsing}, ${2:selector}, ${3:optionalWaitForConditionTimeout}, ${4:optionalWaitForConditionPollInterval}, ${5:optionalAbortOnAssertionFailure}, ${6:optionalCallback}, ${7:optionalMessage})" ,
285+ "description" : " Waits a given time in milliseconds (default 5000ms) for an element to be visible in the page"
286+ },
287+ "element" : {
288+ "prefix" : " nwelement" ,
289+ "body" : " element(${1:using}, ${2:value}, ${3:callback})" ,
290+ "description" : " Search for an element on the page, starting from the document root"
291+ },
292+ "elements" : {
293+ "prefix" : " nwelements" ,
294+ "body" : " elements(${1:using}, ${2:value}, ${3:callback})" ,
295+ "description" : " Search for an element on the page, starting from the document root"
296+ },
297+ "elementIdEquals" : {
298+ "prefix" : " nwelementIdEquals" ,
299+ "body" : " elementIdEquals(${1:webElementId}, ${2:otherId}, ${3:callback})" ,
300+ "description" : " Test if two web element IDs refer to the same DOM element"
301+ },
302+ "elementIdElement" : {
303+ "prefix" : " nwelementIdElement" ,
304+ "body" : " elementIdElement(${1:webElementId}, ${2:using}, ${3:value}, ${4:callback})" ,
305+ "description" : " Search for an element on the page, starting from the identified element"
306+ },
307+ "elementIdElements" : {
308+ "prefix" : " nwelementIdElements" ,
309+ "body" : " elementIdElements(${1:webElementId}, ${2:using}, ${3:value}, ${4:callback})" ,
310+ "description" : " Search for multiple elements on the page, starting from the identified element"
311+ },
287312}
0 commit comments