BaseBrowserController
Hierarchy
- BaseBrowserController
Index
Methods
close
Close the browser.
Parameters
keyword-onlyforce: bool = False
Whether to force close all open pages before closing the browser.
Returns None
new_page
Create a new page with the given context options.
Parameters
page_options: Mapping[str, Any] | None = None
Options to configure the new page.
proxy_info: ProxyInfo | None = None
The proxy configuration to use for the new page.
Returns Page
[object Object]
Properties
AUTOMATION_LIBRARY
The name of the automation library that the controller is using.
browser_type
Return the type of the browser.
has_free_capacity
Return if the browser has free capacity to open a new page.
idle_time
Return the idle time of the browser controller.
is_browser_connected
Return if the browser is closed.
last_page_opened_at
Return the time when the last page was opened.
pages
Return the list of opened pages.
pages_count
Returns the number of currently open pages.
An abstract class for managing browser instance and their pages.