Getting image size of a specific CSS class using PIL in Python Getting image size of a specific CSS class using PIL in Python selenium selenium

Getting image size of a specific CSS class using PIL in Python


Oops just answering my own question here, I could do

img_height = driver.find_element_by_name("someName").value_of_css_property("height")img_width = driver.find_element_by_name("someName").value_of_css_property("width")

and multiply.