wait_timeout: int = 30
) -> bool
In the active browser, wait for the element to disappear by the given CSS selector.
The CSS selector to find the element.
Timeout for the operation, the unit is second, and the default value is 30 seconds.
bool, return True if the element disappears within given timeout otherwise return False.
from clicknium import clicknium as cc
chrome_tab = cc.chrome.open("https://bing.com")
# wait element disappear by CSS selector
result = chrome_tab.wait_disappear_by_css_selector("#sb_form_q", wait_timeout=5)