The top-level interface class for the browser: provides a generic manager for individual BrowserWindow
objects.
More...
The top-level interface class for the browser: provides a generic manager for individual BrowserWindow
objects.
◆ __init__()
def pycross.browser.Browser.__init__ |
( |
|
self | ) |
|
◆ createDevToolsWindow()
def pycross.browser.Browser.createDevToolsWindow |
( |
|
self | ) |
|
Creates a Developer Tools window.
- Returns
BrowserWindow
new browser window with Developer Tools
◆ createWindow()
def pycross.browser.Browser.createWindow |
( |
|
self, |
|
|
|
offTheRecord = False |
|
) |
| |
Creates a new browser window.
- Parameters
-
offTheRecord | bool mode for the new window: True to open in the Incognito mode (default = False , i.e. normal mode) |
- Returns
BrowserWindow
new browser window
◆ downloadManagerWidget()
def pycross.browser.Browser.downloadManagerWidget |
( |
|
self | ) |
|
◆ navigate()
def pycross.browser.Browser.navigate |
( |
|
self, |
|
|
|
url, |
|
|
|
newtab = True , |
|
|
|
background = False , |
|
|
|
offTheRecord = False |
|
) |
| |
Navigates to a URL in the active or new tab.
- Parameters
-
url | str the target URL to browse |
newtab | bool True to open the page in a new tab; False to open in the current (active) tab |
background | bool whether to load the page in background (without switching to it) |
◆ windows()
def pycross.browser.Browser.windows |
( |
|
self | ) |
|
- Returns
list
list of currently opened browser windows
◆ m_downloadManagerWidget
pycross.browser.Browser.m_downloadManagerWidget |
◆ m_otrProfile
pycross.browser.Browser.m_otrProfile |
QtWebEngineWidgets.QWebEngineProfile
selected web profile (e.g.
Incognito)
◆ m_windows
pycross.browser.Browser.m_windows |
list
list of currently opened browser windows (BrowserWindow
objects)
The documentation for this class was generated from the following file: