1. Assertions on page titles
A page title is a string of characters set in the title tag.
It is displayed in tabs and window sections and is used as a name when bookmarking.
|Title Should Be||Verify that the page title exactly matches the specified string|
If you need a partial match command for a title, please contact our support team.
2. Assertions on page URLs
|Location Should Be||Verify that the current URL exactly matches the specified string|
|Location Should Contain||Verify that the current URL contains the specified string|
If you want to validate the URL of a page where the URL changes dynamically, we recommend using Location Should Contain.
3. Assertions on all text contained in the page
|Page Should Not Contain||Verify that the specified string does not exist in the page|
4. Assertions on all HTML elements on the page
Currently, Page Should Contain Element is shown as a command for assertions on the page (click the "Assert against page" button), but in the future, it will be a command for assertions on elements within the page.
|Page Should Contain Element||Verify that certain elements are present on the page|
Even if the element is not visible to the general public, it will be considered successful if it exists as an HTML element. For more information, please refer to "Frequently Asked Questions about Assertions".