

The steps given here to install Google Chrome and use it as a Headless browser on Ubuntu will also work for Debian. Use Chrome Headless to take screenshots Install and Use Google Chrome headless on Ubuntu Linux Remember Headless browsers are not Text-based browsers both are different except one thing in common is the command line Interface…ĥ. Headless browsers are also useful in web scraping. Using Google Chrome headless or other browsers we can perform automation testing of web apps, javascript libraries the interaction of web pages, and even save the website page in PDF or can take screenshots. Well, in Google Chrome and FireFox, apart from the Graphical user interface, headless support is also there out of the box. It is because in headless they can understand the rendering of HTML in a better way including styling elements such as page layout, color, font selection, and execution of JavaScript and Ajax which are usually not available when using other testing methods. Headless browsers are particularly used by developers and system administrators for testing web pages. This implies the users can access the webpages but in the command line interface, not in a graphical user interface. Tutorial to Install Google Chrome Headless on Ubuntu Linux to use the browser without GUI on the command line terminal.Ī headless browser means a web browser without a graphical user interface.
