For AI agents: a documentation index is available at /llms.txt
Skip to main content

ClickOptions

Properties

PropertyTypeDescription
scroll?booleanWhether or not to scroll to the element prior to clicking, defaults to true Default true
timeout?numberHow long to wait for the element to appear before timing out on the click handler, overriding any defaults. Default timeout is 30 seconds, or 30000.
visible?booleanWhether or not to click the element only if it's visible Default false
wait?booleanWhether or not to wait for the element to present in the DOM Default true