click_if_visible
Click an element only when it's visible; waits up to a given timeout for it to appear. Avoids failures from clicking hidden elements.
Instructions
Click an element only if it's currently visible; no-op otherwise.
If a timeout is given, then waits up to that long for the element
to appear first before performing the click.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |