What is the WebElement method used to get the BackGroud Color of an Element displayed in the WebPage.

Questions & AnswersCategory: Programming LanguageWhat is the WebElement method used to get the BackGroud Color of an Element displayed in the WebPage.
Adam asked 3 years ago

What is the WebElement method used to get the BackGroud Color of an Element displayed in the WebPage.
a. getCssText(“background-color”)
b. getCssValue(“background-color”)
c. getCss(“color”)
d. getCssValue(“bg-color”)