Skip to main content
[Command] Click element
Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

The Click element command is used to instruct the workflow to click an element on a web page.


Parameters Values

Set parameters

Parameter

Definition

Web page

Select a web page on which you would like to click an element

Element

Select the element to click by capturing a new element or selecting from a previously saved element

Advanced settings

Parameter

Definition

Perform a physical click action

Simulate human operation, rather than operate through a browser API

Click action

Choose the click mode

  • Single click

  • Double click

Mouse button

Choose the button to click on a mouse

  • Left click

  • Right click

Assistant key

Choose a key on the keyboard to press along with the mouse button

  • None

  • Ctrl

  • Shift

  • Alt

Wait after execution

Wait for a specified number of seconds after the action is executed

Wait for element

Wait for a specified amount of seconds until the element appears

Error handling

Parameter

Definition

When error occurs

Select the action to be performed when an error occurs

  • Terminate the project

  • Ignore the error and execute the next command

  • Retry action


Example

The above workflow will go to Octoparse.com on the built-in browser, save the webpage as Octoparse_HomePage, and left-click on the "Pricing" button on the page.

Did this answer your question?