pageres-cli:捕获网站截图

时间:2024-02-24 22:06:06
【文件属性】:

文件名称:pageres-cli:捕获网站截图

文件大小:240KB

文件格式:ZIP

更新时间:2024-02-24 22:06:06

nodejs command-line-app npm-package capture-screenshots Node.jsJavaScript

pageres-cli 捕获各种分辨率的网站屏幕截图。 确保您的网站响应良好的好方法。 它运行Swift,可在一分钟内从10个不同的网站生成100个屏幕截图。 它也可以用于渲染SVG图像。 有关程序化API和问题跟踪器,请参见 。 安装 $ npm install --global pageres-cli Linux用户注意事项:如果您看到“没有可用的沙箱!” 错误,您需要启用。 用法 指定url和屏幕分辨率作为参数。 顺序无关紧要。 如果未指定分辨率,则默认为1366x768 ,这是最受欢迎的分辨率。 pageres < url> < resolution> pageres <


【文件预览】:
pageres-cli-main
----cli.js(4KB)
----.gitignore(23B)
----.github()
--------workflows()
--------funding.yml(113B)
----test()
--------test.js(2KB)
----screenshot.png(14KB)
----.gitattributes(19B)
----screenshot-output.png(219KB)
----package.json(1KB)
----readme.md(5KB)
----.editorconfig(175B)
----license(1KB)
----.npmrc(19B)

网友评论