Move mouse cursor Version 11 (Java)

Action group: Browsers


Description

The action moves the mouse pointer relative to the center of the specified element.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with the browser.Robin.SeleniumBrowser contextYes
ElementElement for interactionRobin.WebElement
Yes
X axis offsetX-axis offset relative to the center of the elementRobin.Numeric
No
Y axis offsetY-axis offset relative to the center of the elementRobin.Numeric
No

Special conditions of use

The action works only within the visible field.

Example of use

Task

Go to website https://www.rpa-robin.ru/ and move the mouse pointer in relation to the element (button "RPA is a platform for large businesses and state-owned companies"). X-axis -100, Y-axis - 200.


Solution 

Use the "Open Browser", "Move to element" actions.

Implementation

  1. Assemble a robot scheme with the actions.


  2. Set the "Open Browser" action parameters (see Open Browser Windows, tabs, frames).
    1. "Browser" field. Select a browser for the robot to open.
    2. "URL" field. Specify the URL that will be navigated to when the browser is opened.


  3. Set the "Move to element" action parameters. To create an element use the WebSpy tool (see section Create Web-element).
    1. "Context" field. Specify the open browser context.
    2.  "Element" field. Select a web-element for interaction. To create an element use the WebSpy tool (see section Create Web-element).
    3. "X-axis offset" field. Specify the X-axis offset in relation to the element center.
    4. "Y-axis offset". Specify the Y-axis offset in relation to the element center.

  4. Click "Start" in the top panel.

Result

The program robot completed successfully.


 

  • Нет меток