browser.window.open#
Functions#
new_tab(url=None, name=None, timeout=None)
#
Open and switch to new tab in current browser window.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url | str | None | If given, the URL will open in the new tab. | None |
name | str | None | Unique name to identify the tab so you later can switch back to this tab with the | None |
timeout | float | None | In seconds. Timeout to wait for the tab. If | None |
new_window(url=None, name=None, timeout=None)
#
Open and switch to new browser window.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url | str | None | If given, the URL will open in the new window. | None |
name | str | None | Unique name to identify the window so you later can switch back to this window with the | None |
timeout | float | None | In seconds. Timeout to wait for the window. If | None |