the “__” element should exist
Verifies that the page contains an element matched by the selector, ID, name, or label.
Pattern
^(?|the )"([^"]*)" (?|element )should exist$
Parameters
Position | Description | Value Type | Restrictions |
---|---|---|---|
1 | field | field id/name/label/selector |
Examples
Given I am on the "register" page
Then the "first_name" element should exist