Can I use FF Screenshots programmatically?


Hi all!
I was trying to use Firefox Screenshots within some Python scripts for QA. I’m using GeckoDriver with Selenium and I’d need a way to use FF Screenshots on some div elements programmatically.

Is there a way to accomplish this?

Unfortunately on sites that have AJAX infinite scrolling or other fancy things it’s impossible to take a meaningful screenshot.

Thanks for replies!