Can I use FF Screenshots programmatically?


#1

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!


(Clouserw) #2

Not at this time. We’re going to discuss and draft an API around screenshots and it might include this, but it wouldn’t be ready for a long time. I filed https://github.com/mozilla-services/screenshots/issues/4755 so there is a place to get updates at least.