Execute headless chrome on ubuntu (linux)

Open a terminal and execute the following command

google-chrome –headless –disable-gpu –remote-debugging-port=9222 –disk-cache-dir=/tmp –user-data-dir=/tmp –crash-dumps-dir=/tmp “https://www .baidu.com”

The post headless chrome execution on ubuntu (linux) first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/9694
This site is for inclusion only, and the copyright belongs to the original author.