🍺 Join Clicknium for quality support, growth opportunities, and a supportive community

get_property

def get_property(
self,
name: str,
timeout: int = 30
) -> str

Get property value of the target element.

Parameters:
 name [Required]: str
   Property name, different UI elements may support different properties. For specific properties, please refer to Automation Concept.
 timeout: int
   Timeout for the operation, the unit is second, and the default value is 30 seconds.

Returns:
 str

Example:


from clicknium import clicknium as cc, locator, ui

tag = ui(locator.chrome.bing.search_sb_form_q).get_property("tag")
What are your feelings
Updated on 29 August 2023