19

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

1 Answer 1

34

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

Sign up to request clarification or add additional context in comments.

1 Comment

Link to the documentation broken

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.