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
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with the browser. | Robin.Selenium | Browser context | Yes |
Element | Element for interaction | Robin.WebElement | Yes | |
X axis offset | X-axis offset relative to the center of the element | Robin.Numeric | No | |
Y axis offset | Y-axis offset relative to the center of the element | Robin.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
- Assemble a robot scheme with the actions.
- Set the "Open Browser" action parameters (see Open Browser Windows, tabs, frames).
- "Browser" field. Select a browser for the robot to open.
- "URL" field. Specify the URL that will be navigated to when the browser is opened.
- Set the "Move to element" action parameters. To create an element use the WebSpy tool (see section Create Web-element).
- "Context" field. Specify the open browser context.
- "Element" field. Select a web-element for interaction. To create an element use the WebSpy tool (see section Create Web-element).
- "X-axis offset" field. Specify the X-axis offset in relation to the element center.
- "Y-axis offset". Specify the Y-axis offset in relation to the element center.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
Обзор
Инструменты контента