Skip to content

Mouse Scroll on Web Page

Function Description

TIP

Scroll the mouse in the specified web page, which can be set to scroll to the top, bottom, or a specific position

Mouse Scroll on Web Page

Configuration Item Description

General

Command Input

  • Web Page ObjectTBrowser: Enter a web page object that is obtained or created through the 'Open Web Page' function

  • Scroll on Specified ElementBoolean: Scroll on the specified element

  • Operation TargetTTarget: Select the web element to operate on

  • If Element Has No Scrollbar, Search Upwards AutomaticallyBoolean: If the current element has no scrollbar, automatically search upwards for an element with a scrollbar

  • Scroll PositionInteger: Specify the target position for web page scrolling

  • Horizontal CoordinateInteger: The horizontal coordinate where the mouse moves to the target position

  • Vertical CoordinateInteger: The vertical coordinate where the mouse moves to the target position

  • Scroll EffectInteger: Specify the scroll effect of the mouse

Command Output

No output for the current command

Advanced

  • Wait for Element to Exist (Milliseconds)Integer: Timeout in milliseconds to wait for the element to exist

  • Delay Before (ms)Integer: The waiting time before instruction execution

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None