New answers tagged


You first need to get the attribute of the element by using 'Get Element Attribute' of selenium2Library: ${style}= | Get element attribute | id=check_style@style Once you get the attribute like "width:20px;height:20px;background-color:#ffcc00;" then, you can get background-color very easily from this string by using 'Split String' of String library: ...

Top 50 recent answers are included