Scroll page

Updated at:

1. Component introduction

Note

Prerequisites: Open new web page or Get opened web page

You can use this component to horizontally scroll webpages by a specified number of pixels in Chrome, Edge, and IE.

2. Inputs

Note

For details about each input, see the help text in the component panel of the application flow editor.

3. Outputs

Note

For details about each output, see the help text in the component panel of the application flow editor.

4. Component usage example

4.1. Component configuration example

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

  2. For Horizontal scroll, the default direction is right. You can select left or right.

  3. For Scroll right distance (pixels), keep the default value of 0.

  4. For Vertical scroll direction, select whether the content scrolls up or down. The default direction is down.

  5. For Scroll down distance (pixels), enter 300.

  6. Keep the default values for the advanced options.

4.2. Example execution result

The component successfully scrolls the page in the Chrome browser down 300 pixels.

5. Example flow

Build the flow

  1. Use the Open new web page component to open the Alibaba Cloud RPA documentation in Chrome.

  2. Use the Move mouse component to move the mouse cursor over the page that you want to scroll.

  3. Use the Scroll page component to scroll the page down.

Execution result

As shown in the following figure, the flow successfully opens the Alibaba Cloud RPA documentation in Chrome and scrolls the page down 300 pixels.