Module p.u.pywebbrowser

Part of pida.utils

Interfaces for launching and remotely controlling Web browsers.
Line # Kind Name Docs
8 Class Error Undocumented
14 Function register Register a browser connector and, optionally, connection.
18 Function get Return a browser launcher instance appropriate for the environment.
42 Function open Undocumented
45 Function open_new Undocumented
49 Function _synthesize Attempt to synthesize a controller base on existing controllers.
80 Function _iscommand Return True if cmd can be found on the executable search path.
95 Class GenericBrowser Undocumented
109 Class Netscape Launcher class for Netscape browsers.
138 Class Galeon Launcher class for Galeon browsers.
165 Class Konqueror Controller for the KDE File Manager (kfm, or Konqueror).
200 Class Grail Undocumented
248 Class WindowsDefault Undocumented
313 Class InternetConfig Undocumented
def register(name, klass, instance=None):
Register a browser connector and, optionally, connection.
def get(using=None):
Return a browser launcher instance appropriate for the environment.
def open(url, new=0, autoraise=1):
Undocumented
def open_new(url):
Undocumented
def _synthesize(browser):
Attempt to synthesize a controller base on existing controllers.

This is useful to create a controller when a user specifies a path to an entry in the BROWSER environment variable -- we can copy a general controller to operate using a specific installation of the desired browser in this way.

If we can't create a controller in this way, or if there is no executable for the requested browser, return [None, None].

def _iscommand(cmd):
Return True if cmd can be found on the executable search path.
API Documentation for PIDA, generated by pydoctor.