Click web control

更新时间:
复制 MD 格式

1. Component introduction

Note

Prerequisite components: Open new web page or Get opened web page

Use this component to click a specific control on a web page in Chrome, Edge, or IE.

2. Inputs

Note

For more information about each input, see the help text for the parameter in the component panel of the application flow editor.

3. Outputs

Note

For more information about each output, see the help text for the parameter in the component panel of the application flow editor.

4. Component usage example

4.1. Example configuration

  1. For Opened browser object, select v_web_obj_1, which is the output of the Open new web page or Get opened web page component.

  2. Use the Capture control feature to capture the Baidu Search button on the Baidu page. Name the element "Baidu Search button".

  3. For Target control, select "Baidu Search button".

  4. For Base position, select "Relative to control centroid".

  5. For Horizontal movement direction, keep the default value "To the right".

  6. For Move right distance (pixels), keep the default value 0.

  7. For Vertical movement direction, keep the default value "Downward".

  8. For Move down distance (pixels), keep the default value 0.

  9. For Click type, keep the default value "Left-click".

  10. For Simulate click, select "Yes".

  11. Keep the default values for the advanced options.

4.2. Example result

The component successfully clicks the Baidu Search button on the Baidu page in Chrome.

5. Example flow

Setup flow

  1. Use the Open new web page component to open Baidu in Chrome.

  2. Use the Fill input box (web page) component to enter "Alibaba Cloud RPA" into the search box.

  3. Use the Click control (web page) component to click the "Baidu Search" button.

Result

The flow opens Baidu in Chrome and searches for "Alibaba Cloud RPA", as shown in the following figure.