When I find element by selector:
When I find element by selector {string} Copy
When I find element by selector {string}
Get the descendent DOM elements of a specific selector.
The querying behavior of this command matches exactly how .find() works in jQuery.
.find()
Find the element with the class banner:
banner
When I find element by selector ".banner" Copy
When I find element by selector ".banner"
A preceding step like "When I find form" is required. For example:
When I find form And I find element by selector "input[type='checkbox']" And I click Copy
When I find form And I find element by selector "input[type='checkbox']" And I click
When I find element by selector:
Get the descendent DOM elements of a specific selector.
The querying behavior of this command matches exactly how
.find()
works in jQuery.