Source: Protek Blog

Protek Blog HOW TO RETRIEVE CSS PROPERTIES OF AN ELEMENT?

How to retrieve CSS properties of an element? The values of the css properties can be retrieved using a get() method: Syntax: driver.findElement(By.id("id")).getCssValue("name of css attribute"); driver.findElement(By.id("id")).getCssValue("font-size"); The post HOW TO RETRIEVE CSS PROPERTIES OF AN ELEMENT? appeared first on Pro-Tek Blog.

Read full article »
Est. Annual Revenue
$25-100M
Est. Employees
100-250
CEO Avatar

CEO

Raj kessireddy

CEO Approval Rating

72/100

Read more