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
![sample](https://www.clicknium.com/assets/images/hover_sample1-9536743774e1ec9dc48e5abdc402d785.png)
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
![sample](https://www.clicknium.com/assets/images/hover_sample2-ddf9e072be8e83e272b0fa7a46a8431b.png)