Skip to content

webbrowser

Source

Open a web browser. Wraps python's webbrowser module.

Inputs

Name Type Default Required Description
url str True String url to open in browser.
new int 0 True If new is 1, a new browser window is opened if possible. If new is 2, a new browser page (“tab”) is opened if possible.
autoraise bool True True If autoraise is True, the window is raised if possible (note that under many window managers this will occur regardless of the setting of this variable).

Arguments

Position Argument Type
1 url str

Returns

None

Examples

Open a web browser. Wraps python's webbrowser module.

open browser_>: webbrowser https://robc.xyz