All Projects → cypress-io → xvfb

cypress-io / xvfb

Licence: other
Easily start and stop an X Virtual Frame Buffer from your node apps

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to xvfb

cypress-page-object
Represent the screens of your website as a series of objects in your Cypress test suite
Stars: ✭ 23 (-34.29%)
Mutual labels:  cypress
cypress-nextjs-auth0
Cypress commands to support Auth0 and Next.js
Stars: ✭ 56 (+60%)
Mutual labels:  cypress
cypress-slack-reporter
A home for various Cypress Plugins
Stars: ✭ 126 (+260%)
Mutual labels:  cypress
react-resume
Resume Builder in React
Stars: ✭ 70 (+100%)
Mutual labels:  cypress
hackernews
This project is based on the book "The Road to React" by Robin Wieruch
Stars: ✭ 19 (-45.71%)
Mutual labels:  cypress
PHP-Backuper
A framework which will help you to make (incremental) backups of your site.
Stars: ✭ 16 (-54.29%)
Mutual labels:  util
cypress-maildev
Cypress Maildev is a bunch of Cypress commands in order to test your messages (SMS and Emails) by using Maildev REST API.
Stars: ✭ 19 (-45.71%)
Mutual labels:  cypress
cypress-upload-file-post-form
Solution for two Cypress testing use-cases I came across with: perform a direct http FORM request to the server containing a file and other parameters and upload a file into a form before submission
Stars: ✭ 59 (+68.57%)
Mutual labels:  cypress
trample
A Web/Node General Utils Library
Stars: ✭ 36 (+2.86%)
Mutual labels:  util
odoo-cypress
Odoo Framework E2E Testing using Cypress
Stars: ✭ 19 (-45.71%)
Mutual labels:  cypress
go-hutils
a util library for golang
Stars: ✭ 14 (-60%)
Mutual labels:  util
dm2
DM2 | cool Windows app - unique windows manager, open dialog enhancer and much more!
Stars: ✭ 93 (+165.71%)
Mutual labels:  util
unist-builder
utility to create a new trees with a nice syntax
Stars: ✭ 52 (+48.57%)
Mutual labels:  util
cypress-retry
Retry just the failed Cypress.io tests using Cypress module API and AST rewriting
Stars: ✭ 16 (-54.29%)
Mutual labels:  cypress
quasar-testing
Testing Harness App Extensions for the Quasar Framework 1.0+
Stars: ✭ 142 (+305.71%)
Mutual labels:  cypress
rollup-plugin-graph
Generates module dependencies graph, using the DOT language.
Stars: ✭ 26 (-25.71%)
Mutual labels:  util
main
Mocks Server monorepo
Stars: ✭ 109 (+211.43%)
Mutual labels:  cypress
mkjson
A commandline tool to generate static or random JSON records
Stars: ✭ 16 (-54.29%)
Mutual labels:  util
xiaoTools
A tool class that makes java very sweet
Stars: ✭ 12 (-65.71%)
Mutual labels:  util
TLE5012-Magnetic-Angle-Sensor
This repository includes an library for Arduino for the TLE5012 Magnetic Angle Sensor with SSC interface.
Stars: ✭ 37 (+5.71%)
Mutual labels:  cypress

@cypress/xvfb

easily start and stop an X Virtual Frame Buffer from your node apps.

CircleCI Build Status semantic-release renovate-app badge

Usage

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
  });
});

The Xvfb constructor takes four options:

  • displayNum - the X display to use, defaults to the lowest unused display number >= 99 if reuse is false or 99 if reuse is true.
  • reuse - whether to reuse an existing Xvfb instance if it already exists on the X display referenced by displayNum.
  • timeout - number of milliseconds to wait when starting Xvfb before assuming it failed to start, defaults to 2000.
  • silent - don't pipe Xvfb stderr to the process's stderr.
  • xvfb_args - Extra arguments to pass to Xvfb.
  • onStderrData - Function to receive stderr output

Debugging

Run with DEBUG=xvfb environment variable to see debug messages. If you want to see log messages from the Xvfb process itself, use DEBUG=xvfb,xvfb-process.

Thanks to

Forked from node-xvfb

both of which served as inspiration for this package.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].