browser.wait.until.url#
Functions#
changes(baseline_url, timeout=None)
#
Wait until the browser URL has changed compared to a baseline URL, e.g. after a redirect or form action.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
baseline_url | str | Baseline URL to compare the new URL to. It's evaluated as any change. | required |
timeout | float | None | In seconds. Timeout to wait for URL to change. If | None |
contains(url_fragment, timeout=None)
#
Wait until the browser URL contains a specified text fragment, e.g. after a redirect or updated query string.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url_fragment | str | The URL variable can contain both a fragment (e.g. | required |
timeout | float | None | In seconds. Timeout to wait for URL to contain the specified fragment. If | None |
equals(url, timeout=None)
#
Wait until the browser URL has changed to a specific URL, e.g. after a redirect or clicking a button.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url | str | Full URL to compare the new URL against. Evaluated as an exact match. | required |
timeout | float | None | In seconds. Timeout to wait for URL to match the specified URL. If | None |