def wait_property(
name: str,
value: str,
wait_timeout: int = 30
) -> bool

Wait for the target element’s property to be expected value within specified timeout.

name[Required]: str
   Property name, different UI elements may support different properties.For specific properties, please refer to Automation Concept.

 **value[Required]**: str

   Expected property value.

 **timeout**: int

   Wait timeout for the operation, the unit is second, and the default value is 30 seconds.

 bool, return True if the UI element exists and its property value is expected, otherwise return False.


from clicknium import clicknium as cc, locator

tab = cc.chrome.open("https://bing.com")

tab.find_element(locator.chrome.bing.search_sb_form).wait_property("aria-expanded", "true")
What are your feelings
Updated on 29 August 2023