Browser class provides methods to browser operations.
Properties #
tabs
: List[BrowserTab], get browser’s all tabs.
Methods #
- new_tab: open a new tab in current browser, return BrowserTab.
- get_tab: get the tab by specified title and/or url, return BrowserTab.
- get_active_tab: get the current active tab of the browser., return BrowserTab.
- close: close the browser.
- maximize: maximize the browser window.