browser.window.handle#
Functions#
all(selenium=False)
#
Get list of IDs of all open tabs or windows.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
selenium | bool | Set to | False |
Returns:
Type | Description |
---|---|
list[str] | List of IDs of all open tabs or windows. |
count(selenium=False)
#
Count number of open tabs or windows.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
selenium | bool | Set to | False |
Returns:
Type | Description |
---|---|
int | Number of open tabs or windows. |