Get color attribute from the styles table
问题 I need to verify the value of background color of div. Here's the HTML: <div id="outercontainer" align="left"> The information about background color is defined in file style.css like so: #outercontainer { background-color: #EAEAEA; margin-left: auto; margin-right: auto; opacity: 1; width: 1000px; z-index: 2; } I tried to get the value of bgcolor using selenium.getattribute command, but selenium returned me following error message : ERROR: Could not find element attribute: css=#oute