Is there a way to check the font style , colour , size etc using selenium python

  • I wanted to know how to write test scripts to test font style, color, size etc using python selenium if anyone of you knows can you please share me the appropriate links. ('i mean study material links')

  • element.value_of_css_property(property name (string)) will return value of the specified property, e.g. element.value_of_css_property("font-size") returns the CSS "font-size" value.

    Here are the docs: link

Suggested Topics