webbrowser module

binaryninja.webbrowser.BackgroundBrowser(name)

Class for all browsers which are to be started in the background.

binaryninja.webbrowser.BaseBrowser([name])

Parent class for all browsers.

binaryninja.webbrowser.Chrome([name])

Launcher class for Google Chrome browser.

binaryninja.webbrowser.Chromium

alias of webbrowser.Chrome

binaryninja.webbrowser.Elinks([name])

Launcher class for Elinks browsers.

binaryninja.webbrowser.Error

binaryninja.webbrowser.Galeon([name])

Launcher class for Galeon/Epiphany browsers.

binaryninja.webbrowser.GenericBrowser(name)

Class for all browsers started with a command and without remote functionality.

binaryninja.webbrowser.Grail([name])

binaryninja.webbrowser.Konqueror([name])

Controller for the KDE File Manager (kfm, or Konqueror).

binaryninja.webbrowser.MacOSX(name)

Launcher class for Aqua browsers on Mac OS X

binaryninja.webbrowser.MacOSXOSAScript(name)

binaryninja.webbrowser.Mozilla([name])

Launcher class for Mozilla browsers.

binaryninja.webbrowser.Netscape([name])

Launcher class for Netscape browser.

binaryninja.webbrowser.Opera([name])

Launcher class for Opera browser.

binaryninja.webbrowser.UnixBrowser([name])

Parent class for all Unix browsers with remote functionality.

Interfaces for launching and remotely controlling Web browsers.

exception Error

Bases: Exception

get(using=None)

Return a browser launcher instance appropriate for the environment.

open(url, new=0, autoraise=True)

Display url using the default browser.

If possible, open url in a location determined by new. - 0: the same browser window (the default). - 1: a new browser window. - 2: a new browser page (“tab”). If possible, autoraise raises the window (the default) or not.

open_new(url)

Open url in a new window of the default browser.

If not possible, then open url in the only browser window.

open_new_tab(url)

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

If not possible, then the behavior becomes equivalent to open_new().

register(name, klass, instance=None, *, preferred=False)

Register a browser connector.