clear_selected: bool = True,
timeout: int = 30
) -> None
Select multiple options for the target element that can support multiple selections.
items [Required]: list
Options to be selected.
whether to clear existing selections, default is True.
Timeout for the operation, the unit is second, and the default value is 30 seconds.
- Select multiple items on web element
from clicknium import clicknium as cc, locator, ui
chrome_tab = cc.chrome.open("https://contoso.com")
# as showing below, 'One' and 'Three' are selected.