How to install chromedp v1.0 in centos7
How to install chromedp v1.0 in centos7? for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
As the collection needs to use chromedp, because the process is relatively tortuous, specially recorded the process, in order to meet similar friends as a reference: 1. Install chrome
Curl https://intoli.com/install-google-chrome.sh | bash
After the installation is completed, the final display is as follows
Complete! Successfully installed Google Chrome!
Check to see if there is a lack of dependency:
Ldd / opt/google/chrome/chrome | grep "not found"
Execution
Google-chrome-stable-headless-disable-gpu-screenshot https://www.baidu.com/
Running chrome reports an error:
Must run in-- no-sandbox mode. So the standard test commands are as follows:
Google-chrome-stable-- no-sandbox-- headless-- disable-gpu-- screenshot https://www.baidu.com/
Or report an error:
Yum install\ ipa-gothic-fonts\ xorg-x11-fonts-100dpi\ xorg-x11-fonts-75dpi\ xorg-x11-utils\ xorg-x11-fonts-cyrillic\ xorg-x11-fonts-Type1\ xorg-x11-fonts-misc-y
Successful, run the command again:
Google-chrome-stable-- no-sandbox-- headless-- disable-gpu-- screenshot https://www.baidu.com/
The download succeeded, but an error was reported.
This is the answer to the question about how to install chromedp v1.0 in centos7. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel for more related knowledge.