xvfb:从节点应用程序轻松启动和停止X虚拟帧缓冲区

时间:2021-05-13 20:58:49
【文件属性】:
文件名称:xvfb:从节点应用程序轻松启动和停止X虚拟帧缓冲区
文件大小:149KB
文件格式:ZIP
更新时间:2021-05-13 20:58:49
util cypress xvfb JavaScript @赛普拉斯/ xvfb 从节点应用程序轻松启动和停止X虚拟帧缓冲区。 用法 var Xvfb = require ( 'xvfb' ) ; var options = { } ; // optional var xvfb = new Xvfb ( options ) ; xvfb . start ( function ( err , xvfbProcess ) { // code that uses the virtual frame buffer here xvfb . stop ( function ( err ) { // the Xvfb is stopped } ) ; } ) ; Xvfb构造函数采用四个选项: displayNum - X显示的用途,默认设置为最低未使用的显示数> = 99,如果reuse是假或99,如果reuse是真实的。 reu
【文件预览】:
xvfb-master
----.gitignore(27B)
----README.md(2KB)
----test()
--------xvfb_spec.js(2KB)
----LICENSE(1KB)
----.eslintrc(180B)
----package.json(1KB)
----renovate.json(668B)
----index.js(6KB)
----.travis.yml(917B)
----demo.js(2KB)
----.npmrc(100B)
----circle.yml(544B)
----package-lock.json(666KB)

网友评论