| Parameter | Type | Required | Description |
|---|---|---|---|
selector | str / string | No | CSS selector for the target element. |
prompt | str / string | No | Natural language description of the element to click. |
ai | str / string | No | Controls AI behavior. "fallback" (default) tries the selector first, then AI. None / null disables AI. |
**kwargs | No | Standard Playwright click options (e.g., timeout, force, position). |
str | None / string | null — the resolved selector used, or None if AI handled the click without a selector.
