Get element internal ID Version 11 (Java)
Action group: Browsers
Description
This action is intended to get the internal ID of the 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 |
HTML-element | HTML-element for interaction. Required. | Robin.WebElement | Yes | |
Results | ||||
ELEMENT_INTERNAL_ID | ELEMENT_INTERNAL_ID | Robin.String |
Special conditions of use
None.
Example of use
Task
Go to https://codepen.io/GBora/pen/VLYyzY and get the internal item ID.
Solution
Use the actions "Open Browser", "Navigate", "Get element internal ID".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the "Open Browser" action parameter.
- Set the parameters of the "Navigate" action.
- Set the parameters of the "Get element internal ID" action. To create an element, use WebSpy (см. раздел Create Web-elements).
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. Internal element ID has been received.
Обзор
Инструменты контента