Keystone home page
Search...
⌘K
Overview
Steps Overview
AI-Powered Steps
AI Assert
Actions
Click
Type
Hover
Scroll
Select
Copy
Paste
File Upload
Assertions
Assert Text
Element Check
Navigation
Navigate
Go Back
Go Forward
Wait for URL
Email Testing
Email Inbox Testing
Email Create Inbox
Wait for Email
Email extract
Log in
Support
Keystone home page
Search...
⌘K
Ask AI
Log in
Support
Support
Search...
Navigation
Actions
Click
Documentation
Steps
CLI
Roadmap
Documentation
Steps
CLI
Roadmap
Actions
Click
Click on an element
Overview
The
CLICK
step allows you to click on any element on the page. It automatically handles scrolling the element into view and validates that the element is clickable before attempting the click action.
Parameters
targetDescription
string
required
Element selector to click. Supports CSS selectors, XPath, and other selector formats.
pressEnter
boolean
default:
"false"
Press Enter key after clicking the element
Behavior
Element Location
: Finds the element using the provided selector
Visibility Check
: Ensures the element is visible on the page
Scroll Into View
: Automatically scrolls the element into view if needed
Clickability Validation
: Verifies the element is enabled and clickable
Click Action
: Performs the click action
Optional Enter Key
: Presses Enter key if
pressEnter
is set to true
Common Use Cases
Clicking buttons to submit forms
Clicking links to navigate
Clicking checkboxes or radio buttons
Triggering dropdown menus
Interacting with any clickable UI element
Error Handling
The step will fail if:
The element cannot be found using the selector
The element is not visible
The element is disabled
The element is not clickable (e.g., covered by another element)
Clear error messages are provided to help debug selector or element state issues.
Previous
Type
Type text into an input field
Next
On this page
Overview
Parameters
Behavior
Common Use Cases
Error Handling
Assistant
Responses are generated using AI and may contain mistakes.