Selenium Programs
(Move to ...)
Selenium Programs
Manual Testing
Java Examples
▼
(Move to ...)
Java Interview Questions for Tester
SQL Interview Questions For Testers
Selenium Interview Quastions Realtime
TestNG Advanced Concepts With Examples
▼
Pages
(Move to ...)
TestNG Complete Tutorials
▼
oops concepts
(Move to ...)
oops concepts
▼
Saturday, 22 October 2016
Read background color of an element
Code For Backgroud color of an element
driver.get("http://www.google.co.in/"); String color = driver.findElement(By.name("btnK")).getCssValue("background-color"); System.out.println("The background color of Google search button"+color);
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment