Answer the question
In order to leave comments, you need to log in
How to take a screenshot of an element using Python Selenium?
How to take a screenshot of an element on a page using Python Selenium? For example, I want to take a screenshot of these two elements on the page with the specific heat of materials. How to do it?
Answer the question
In order to leave comments, you need to log in
There was already such a question https://qna.habr.com/q/1086480
On the topic - open selenium in a browser with the specified window sizes, take a screenshot, and crop what you are looking for.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question