browser.wait.until.page_title#
Functions#
changes(baseline_text, timeout=None)
#
Wait until the page title changes compared to a baseline text, e.g. after a page reload or update.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
baseline_text | str | Baseline text to compare current page title against. It's evaluated as any change. | required |
timeout | float | None | In seconds. Timeout to wait for page title to change. If | None |
contains(page_title_fragment, timeout=None)
#
Wait until the page title contains a specified text fragment, e.g. after a redirect or update.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
page_title_fragment | str | The input can contain both a fragment or the full page title. | required |
timeout | float | None | In seconds. Timeout to wait for page title to contain text fragment. If | None |
equals(page_title, timeout=None)
#
Wait until the page title has changed to a specific text, e.g. after a redirect or update.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
page_title | str | Full page title to compare the new current page title against. Evaluated as an exact match. | required |
timeout | float | None | In seconds. Timeout to wait for page title to match specified text. If | None |