Scroll page
1. Component introduction
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
For details about each input, see the help text in the component panel of the application flow editor.
3. Outputs
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
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.For
Horizontal scroll, the default direction is right. You can select left or right.For
Scroll right distance (pixels), keep the default value of 0.For
Vertical scroll direction, select whether the content scrolls up or down. The default direction is down.For
Scroll down distance (pixels), enter 300.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
Use the Open new web page component to open the Alibaba Cloud RPA documentation in Chrome.
Use the Move mouse component to move the mouse cursor over the page that you want to scroll.
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.