How to obtain CSS value (eg. color) of element using selenium webdriver in Python

python, selenium-webdriver

Solution

`element.value_of_css_property(property_name)` should be the Python's Selenium Webdriver equivalent of `getCSSvalue()`.

Documentation can be found on the readthedocs page: Link

Problem

I know in `Java` one could use `getCSSvalue` so is there any equivalent in `Python`?

Original source