def hover(self, timeout: int = 30) -> None
Hover over the element, and the mouse will move upon the element and stay for a while.
Parameters:
timeout: int
Timeout for the operation, the unit is second, and the default value is 30 seconds.
Returns:
None
Example:
- Hover over a web element
from clicknium import clicknium as cc, locator, ui
ui(locator.chrome.bing.li_dots_overflow).hover()
# the menu is displayed after hovering over the button