Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 445 Bytes

elementHasNoChildren.md

File metadata and controls

20 lines (11 loc) · 445 Bytes

Assert that the element identified by the selector doesn't have children nodes

Examples:

browser
    .url("http://github.com")
    .assert.elementHasNoChildren("#list-of-tasks")

Author: maxgalbu

Params:

  • String selector - the element selector
  • String [msg] - output to identify the assertion