Scroll mouse wheel

Updated at:

1. Component introduction

Note

Prerequisites: None

This component simulates scrolling the mouse wheel up or down.

2. Inputs

Note

For more information about each input, see the help text in the component panel of the ROS Visual Editor.

3. Outputs

Note

For more information about each output, see the help text in the component panel of the ROS Visual Editor.

4. Component usage example

4.1. Component configuration example

  1. For Scroll direction, the default value is Down.

  2. Set Scroll count to 5.

  3. Keep the default advanced options.

4.2. Example execution result

None

5. Flow creation example

Setup flow

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

  2. Use the Move mouse component to move the mouse cursor onto the Taobao page.

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

    image

Execution result

The flow opens the Taobao page in the Chrome browser and scrolls down five times, as shown in the following figure.