The Selenium documentation provides an example of how to use Get Element Attribute:
${id}= Get Element Attribute css:h1 id
However, I encountered a problem with this selector:
${VISIBILITY}= Get Element Attribute css:visibility mySidebar
In the HTML snippet below:
<div id="mySidebar">
The 'visibility' attribute is defined as:
Style Attribute {
z-index: 104;
visibility: visible;
Can anyone suggest a functioning selector for this scenario?