![]() ![]() Using Chrome, you can take a screenshot of the first screen of visible content of a web page using the following command: "" -headless -screenshot="\image.png" "" Taking screenshots from the command line using Chrome Headless mode makes it ideal when using this feature during scripted tasks as the browser windows will not appear and interrupt other tasks you are working on. When using this feature, the browsers will be started in a headless mode, which means the browser will not become visible to the user and will close after performing the desired request. This allows you to create scripts or scheduled tasks that automatically take screenshots of web sites at various intervals. Both Chrome and Firefox have the ability to take screenshots of web sites directly from the command line. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |