node-ghost-inspector:用于 Node.js 的 Ghost Inspector CLl 和 API 库

时间:2021-08-04 03:22:41
【文件属性】:
文件名称:node-ghost-inspector:用于 Node.js 的 Ghost Inspector CLl 和 API 库
文件大小:156KB
文件格式:ZIP
更新时间:2021-08-04 03:22:41
JavaScript Ghost Inspector Node.js 绑定 用于与交互的官方 Node.js 包和 CLI。 跳到... 安装 我们的官方 Node.js 包可从,您可以使用以下命令安装它: npm install ghost-inspector 要使用 CLI,请全局安装软件包: npm install -g ghost-inspector 快速开始 const GhostInspector = require ( 'ghost-inspector' ) ( '[api-key]' ) // execute a test try { const [ results , passing , screenshotPassing ] = await GhostInspector . executeTest ( '[test-id]' , options , )

网友评论