browser.open#
Functions#
url(url)
#
url_if_not_current(url, ignore_trailing_slash=True, ignore_parameters=False, ignore_https=False)
#
Open a URL if it isn't already the current URL.
Tip
Useful when doing multiple operations on a page where you don't want to reload the page, but either A) only if it isn't a specific URL or B) to ensure that a process is only used on a specific page.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url | str | URL to open if not current URL, e.g. | required |
ignore_trailing_slash | bool | Ignore whether the URL is | True |
ignore_parameters | bool | Ignore parameters in the URL, e.g. | False |
ignore_https | bool | Ignore whether the URL is | False |