- Documentation
- Activities
- Browser
- Click Element
Click on a button, link, or any element on the page
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Element Selector selector | selector | Required | — | — |
Selector Type selectorType | enum | Optional | css | —cssxpath |
Wait for Element waitForSelector | boolean | Optional | true | — |
Timeout (ms) timeout | number | Optional | 30000 | — |
Compatibility
WindowsLinuxWebAttendedUnattended
When to use
Reach for Click Element whenever a step in your automation needs to activate something on a web page the way a person would: pressing a button, following a link, opening a menu, or toggling a control.
- Click a Login or Submit button
- Open a navigation menu or dropdown trigger
- Select a menu item or tab
- Activate a checkbox or radio button
When not to use
- To read a value from the page, use Get Text instead.
- To set a form field's value directly, prefer Type Into or Set Value — clicking is for interactive controls, not text entry.
- To wait for something to appear before acting, pair this with Wait For Element rather than relying on the built-in timeout alone.
Best practices
- Prefer stable selectors (an
id, adata-*attribute, or an ARIA role) over brittle, index-based CSS paths that break when the page changes. - Increase Timeout for slow-loading or heavily dynamic applications.
- Keep Wait for Element on so the click retries until the element is actually present and interactable.
Common mistakes
- Wrong selector — the element exists but the selector matches nothing, or matches a hidden duplicate. Verify the selector against the live page.
- Element inside an iframe — switch to the frame first; a top-level selector will not find it.
- Clicking too early — the element is not yet rendered. Add a Wait For Element step or raise the timeout.
FAQs
Can it click hidden elements?
It clicks elements the browser considers interactable. Truly hidden elements
(display:none) cannot be clicked — reveal them first.
Does it support iframes? Yes, once you have switched into the frame that contains the element.
Can I use a dynamic selector? Yes — bind the selector to a variable or expression to target elements whose attributes change between runs.
Related activities
Check/Uncheck
Check or uncheck a checkbox element
Close Browser
Close the browser window and end the session
Extract Table
Copy data from an HTML table on a webpage
Get Element Attribute
Get the value of an attribute from a web element
Get Text
Read and copy text from an element on the page
Handle Alert
Say how to answer the next message box. Put this before the step that opens it