I\'m trying to navigate through a website using Python and Selenium and I\'ve run into an issue that I can\'t figure out how to solve (assuming it\'s even possible!)
dimension = image.size['width'] * image.size['height'] driver.execute_script('arguments[0].setAttribute("dimension","{}");'.format(dimension), image)