r/selenium•
SJS830

Taking sceenshots of large divs results in malformed screenshots?

UNSOLVED

When I take screenshots of divs that fit in the screen, they come out fine. However, when I take a screenshot of a div that does not fit inside the screen, the middle of the screenshot has elements from around the page. How can I fix this?

​

I'm using geckodriver and python if it matters.

Posted Mar 1, 2020, 9:07 PM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.