Assert that an element (found by its attribute) contains or does not contain text.
Step pattern
Then (I |we )*should( not)* see "([^"]*)?" in( the)* "([^"]*)?" element by( its)*(?: "([^"]*)?")* (attribute|attr)Examples
Example #1
Then I should see "John Smith" in the "uname" element by its "id" attrExample #2
Then I should see "1234" in the "pwordcss" element by attrExample #3
Then I should not see "John Smith" in the "uname" element by its "id" attrExample #4
Then I should not see "1234" in the "pwordcss" element by attr