💾 Archived View for tris.fyi › pydoc › webbrowser captured on 2023-04-26 at 13:33:06. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
Interfaces for launching and remotely controlling web browsers.
Class for all browsers which are to be started in the background.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
Parent class for all browsers. Do not use directly.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
Launcher class for Google Chrome browser.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = True
raise_opts = None
redirect_stdout = True
remote_action = ''
remote_action_newtab = ''
remote_action_newwin = '--new-window'
remote_args = ['%action', '%s']
Launcher class for Google Chrome browser.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = True
raise_opts = None
redirect_stdout = True
remote_action = ''
remote_action_newtab = ''
remote_action_newwin = '--new-window'
remote_args = ['%action', '%s']
Launcher class for Elinks browsers.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = False
raise_opts = None
redirect_stdout = False
remote_action = ''
remote_action_newtab = ',new-tab'
remote_action_newwin = ',new-window'
remote_args = ['-remote', 'openURL(%s%action)']
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Launcher class for Galeon/Epiphany browsers.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = True
raise_opts = ['-noraise', '']
redirect_stdout = True
remote_action = '-n'
remote_action_newtab = None
remote_action_newwin = '-w'
remote_args = ['%action', '%s']
Class for all browsers started with a command and without remote functionality.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
Controller for the KDE File Manager (kfm, or Konqueror). See the output of ``kfmclient --commands`` for more information on the Konqueror remote-control interface.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
Launcher class for Mozilla browsers.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = True
raise_opts = None
redirect_stdout = True
remote_action = ''
remote_action_newtab = '-new-tab'
remote_action_newwin = '-new-window'
remote_args = ['%action', '%s']
Launcher class for Netscape browser.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = True
raise_opts = ['-noraise', '-raise']
redirect_stdout = True
remote_action = ''
remote_action_newtab = ',new-tab'
remote_action_newwin = ',new-window'
remote_args = ['-remote', 'openURL(%s%action)']
Launcher class for Opera browser.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = True
raise_opts = None
redirect_stdout = True
remote_action = ''
remote_action_newtab = ''
remote_action_newwin = '--new-window'
remote_args = ['%action', '%s']
Parent class for all Unix browsers with remote functionality.
open(self, url, new=0, autoraise=True)
open_new(self, url)
open_new_tab(self, url)
args = ['%s']
background = False
raise_opts = None
redirect_stdout = True
remote_action = None
remote_action_newtab = None
remote_action_newwin = None
remote_args = ['%action', '%s']
get(using=None) Return a browser launcher instance appropriate for the environment.
main()
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.
register_X_browsers()
register_standard_browsers()