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
СвойствоОписаниеТипПример заполнения | Обязательность заполнения поля | Параметры |
Контекст | Контекст действия для работы с браузеромFilling example | Mandatory field |
Parameters |
Context | Action context for working with the browser. | Robin.Selenium |
Контекст браузераДаЭлемент | Элемент для взаимодействияElement | Element for interaction | Robin.WebElement |
ДаСмещение по оси Смещение по оси X относительно центра элементаX-axis offset relative to the center of the element | Robin.Numeric |
НетСмещение по оси Смещение по оси Y относительно центра элементаY-axis offset relative to the center of the element | Robin.Numeric |
Нет 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.
...