def format_locator(selector_template: str, value: str) -> str: return selector_template.replace("{value}", value)# Default arguments:def wait_and_click(element, timeout: int = 10): print(f"Waiting up to {timeout}s...")
# Default arguments:def wait_and_click(element, timeout: int = 10): print(f"Waiting up to {timeout}s...")