When I click "link"

This step definition is used as a command to click a link, ensuring correct navigation to the expected page.

When (I|we)* click "([^"]*)?"

Define the step for clicking the link by its text.

 

Example by text:

When I click "Contact Us"