I am trying to download a lot of images. So with Selenium I achieved to log in and find the src of the image for example: www.....preview/big/104.jpg
, after that I can just loop to all the other images like ..105...106 and so on.
My best solution is currently to take a screenshot of the whole window. This way I get the best resolution. But then I have black bars on the left and right. Also I tried to screenshot the element directly with
driver.find_element(By.TAG_NAME, 'img').screenshot()
After that the screenshot is very blurry. It would be best if I just had an option to save the image with right click and save as.
Does anyone have an idea how I could implement the whole thing ?
Thank you very much.