sdk/python/Utilities/PyWebbrowser
Utilities

PyWebbrowser

Python stdlib module — webbrowser. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.get()Neutral
#
Signature
get(using)

Return a browser launcher instance appropriate for the environment.

.main()Neutral
#
Signature
main()

main function.

.open()Neutral
#
Signature
open(url, new, autoraise)

Display url using the default browser.

.open_new()Neutral
#
Signature
open_new(url)

Open url in a new window of the default browser.

.open_new_tab()Neutral
#
Signature
open_new_tab(url)

Open url in a new page ("tab") of the default browser.

.register()Neutral
#
Signature
register(name, klass, instance, preferred)

Register a browser connector.

.register_X_browsers()Neutral
#
Signature
register_X_browsers()

register_X_browsers function.

.register_standard_browsers()Neutral
#
Signature
register_standard_browsers()

register_standard_browsers function.

.BackgroundBrowser()Neutral
#
Signature
BackgroundBrowser(...)

Class for all browsers which are to be started in the

.BaseBrowser()Neutral
#
Signature
BaseBrowser(...)

Parent class for all browsers. Do not use directly.

Fully-Qualified Names

FQNField
webbrowserfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import webbrowser