6/5/2023 0 Comments Download free puppeteer extra:-$ firefox -headless -screenshot myscreenshot.png -window-size 360,640 ![]() We can also specify only the window’s width to get the entire page: $ firefox -headless -screenshot myscreenshot.png -window-size 360 įirefox is quite verbose, but it does save screenshots correctly even if we get messages like these: :-$ firefox -headless -screenshot myscreenshot.png Let’s get only the visible portion of the screen: $ firefox -headless -screenshot myscreenshot.png -window-size 360,640
0 Comments
Leave a Reply. |