browser.window#
Functions#
close()
#
fullscreen()
#
maximize()
#
Enlarge the browser window to the maximum allowed size.
Note
For most operating systems, the window will fill the screen, without blocking the operating system's own menus and toolbars. Obviously, the size of the browser window also depends on the device and its screen resolution.
minimize()
#
switch_to(window_handle)
#
Switch to window/tab by handle ID or name.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
window_handle | str | Handle ID or name of window/tab to switch to. | required |
switch_to_original_window()
#
Switch to initial window/tab.
Note
Browserist automatically remembers the handle ID of the initial window/tab when the browser is first opened.