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 screenshot. The only option available on the command line is --window-size...
I can take a screenshot inside the dev console with many more options, including --delay (https://developer.mozilla.org/en-US/docs/Tools/Taking_screenshots), it would be great if there as a way to replicate these options on the command line.