Page Properties¶
Properties for the current page can be accessed through the built-in page object and can be referenced in actions and assertions.
url¶
The current content of the browser address bar.
title¶
The page title (content of the <title>
element).
Example¶
# examples/step/google-assert-open-literal.yml
assertions:
- $page.url is "https://www.google.com"
- $page.title is "Google"