Then I should not see (a/an) "field" element

This step definition is used to be sure that the element specified not exists on the current page.

Then (I|we)* should not see a(n)* "([^"]*)?" element

 

Example:

Then I should not see an "errorMsg" element