I'm trying to create a batch where I open firefox, wait for 10 seconds so the web page is loaded and finally i take a full screenshot.
i tried "firefox www.google" and I know there is an option "screenshot --full page" but i cant make it work altogether.
My main target is clicking in a batch and getting a screenshot of several web pages. And if its possible, wait 10 seconds after opening the web page so it's loaded properly.
thanks
This is what i tried without even trying the 10 seconds delay, but it doesn't work :
firefox www.google.uk & firefox --screenshot
What about this batch script ?
@echo off
Title Take a screenshot with snippingtool by Hackoo 2018
start /min "" firefox.exe "https://stackoverflow.com/questions/50029056/batch-opening-a-webpage-and-screenshot-it-after-10-seconds"
Timeout /T 10 /nobreak>nul
Start /Wait snippingtool /clip
Start /Max mspaint
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With