by Devin Yang

建立于: 7年前 ( 更新: 7年前 )

在这里我提供Mac上的运行方式
抓图: 会产出output.png
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless \
--screenshot https://www.google.com
列印PDF: 会产出output.pdf
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless \
--print-to-pdf https://www.google.com
以下列出可用参数:
说明 有用的参数
Screenshots --screenshot
Create PDFs --print-to-pdf
Dump the DOM --dump-dom
Window size --window-size=412,732

Tags:

Devin Yang

文章内容无法一一说明,如果您有什么不了解处,欢印提问哦:)

No Comment

Post your comment

需要登入才可留言!

类似文章


laravel,letsencrypt,haproxy

PHPENV的HAProxy环境设置与免费SSL证书申请

PHPENV已经添加了haproxy.yml的支持了罗,如果您有外网IP及域名,想弄HAProxy及证书申请透过deviny/phpenv 应该相当简单。本文就让我们看看如何在PHPENV中的HAProxy环境中设置中使用HAProxy吧。

hashcat,破解

逆天而行的哈希猫(hashcat)

sha1不可逆吗?让我们来看看hashcat如何逆天而行@@ 本文介绍hashcat相关运用,及破解hash的实例。