I'm trying to write a script that would have firefox take a screenshot from the command line, in headless mode. Only issue is that the site I'm trying to screenshot takes a couple of seconds to finish loading, so I only get a partially loaded screens...