I am trying to get style properties from an element using selenium which displays as below.
element.style {
left: 0px;
margin: 0px;
width: 414px;
top: 0px;
}
.Content
{
min-height: 500px;
padding-top: 10px;
}
Using the below code retrieves only the element style properties "left: 0px;margin: 0px;width: 414px;top: 0px;"
var style = webelement.GetAttribute("style");
How to get all the styles specific to Content class ?