Trying to get background color
When I'm trying to get bgcolor using xpath I'm not getting the actual color.
<div class="__title">Preferred 2:1 </div>
When I'm trying to print the bgColor,it printing rgba(0,0,0,0) But my bgcolor is white.
The text "Preferred 2:1" is in black color. Somehow it's printing that in the console.
Please help me in getting the exact bg color.
Thanks in advance.
The CSS attribute for the text color is simply "color", not bgcolor.
Inspect the "___titie" class to double check it.