История страницы
Move to element 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
Свойство | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
Параметры | ||||
Контекст | Контекст действия для работы с браузером. | Robin.Selenium | Контекст браузера | Да |
Элемент | Элемент для взаимодействия | Robin.WebElement | Да | |
Смещение по оси X | Смещение по оси X относительно центра элемента | Robin.Numeric | Нет | |
Смещение по оси Y | Смещение по оси Y относительно центра элемента | 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.
...
Обзор
Инструменты контента