Basic Steps¶
import aloe_webdriver
Text¶
- Step I should see “([^”]+)”$
Assert provided text is visible.
Be aware this text could be anywhere on the screen. Also be aware that it might cross several HTML nodes. No determination is made between block and inline nodes. Whitespace can be affected.
- Step I should see “([^”]+)” within (d+) seconds?$
Assert provided text is visible within n seconds.
Be aware this text could be anywhere on the screen. Also be aware that it might cross several HTML nodes. No determination is made between block and inline nodes. Whitespace can be affected.
- Step I should not see “([^”]+)”$
Assert provided text is not visible.
Be aware that because of the caveats of the positive case, the text MAY be on the screen in a slightly different form.
Links¶
- Step I click “([^”]*)”$
Click the link with the provided link text.
- Step I should see a link with the url “([^”]*)”$
Assert a link with the provided URL is visible on the page.
- Step I should see a link that contains the text “([^”]*)” and the url “([^”]*)”$
Assert a link containing the provided text points to the provided URL.