Link

I should see the “__” button/link

Verifies that the page contains a button or link with the specified label.

Pattern

^(?: |I )should see (?:|the )"([^"]*)"(?: button| link)$

Parameters

Position Description Value Type Restrictions
1 text string Must refer to a button or hyperlink.

Examples

Given I am on the "home" page
Then I should see the "Log Out" link