Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Latest commit

 

History

History
8 lines (6 loc) · 528 Bytes

elements.md

File metadata and controls

8 lines (6 loc) · 528 Bytes

Generic element manipulation

Then clauses

  • element {selector} should exist - verifies that the element is present in the DOM.
  • element {selector} should contain {text} - checks that a given DOM element contains the text.
  • I should see element {selector} that contains {text} - same as above, but additionally ensures that the element is visible to the user.
  • I should see element {selector} that has attribute {name} with value {value} - ensures that an element with a specific attribute and value is visible