Headless Chrome REPL not working

前端 未结 2 931
独厮守ぢ
独厮守ぢ 2020-12-15 11:18

When I try to run:

google-chrome --headless --disable-gpu --repl http://google.com

getting infinite:

[0829/155519.758686:IN         


        
2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 12:04

    Use the binary /opt/google/chrome/chrome directly not google-chrome which points to bash script /usr/bin/google-chrome.

    Taken from comments in

    https://developers.google.com/web/updates/2017/04/headless-chrome#screenshots

提交回复
热议问题