我正在使用硒通過以下命令無頭運行chrome:system "LC_ALL=C google-chrome --headless --enable-logging --hide-scrollbars --remote-debugging-port=#{debug_port} --remote-debugging-address=0.0.0.0 --disable-gpu --no-sandbox --ignore-certificate-errors &"但是,似乎無頭鉻正在消耗過多的內存和cpu,有人知道我們如何限制無頭鉻的CPU /內存使用率?或者,如果有一些解決方法。提前致謝。
- 2 回答
- 0 關注
- 1680 瀏覽
添加回答
舉報
0/150
提交
取消