Action group: Browsers
Gets the value of the specified style property of the element
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 | |
Property style name | Property style name | Robin.String | Yes | |
Results | ||||
Result | Property style value | Robin.Object |
https://developer.mozilla.org/ru/docs/Web/CSS/Reference - list of style properties.
You need to get the style of the fontSize element https://www.google.ru/
Use the actions: "Open Browser", "Element property style", "Close Browser".
2. Set the parameters for the "Open Browser" action:
3. Set the parameters of the "Element property style" action. To create an element, use WebSpy (go to Create Web-elements):
4. Set the parameters for the "Close Browser" action:
5. Start the robot by clicking the "Start" button
The element style was successfully retrieved