wd-capture

0.0.1 • Public • Published

wd-capture

Convenience module for capturing some data for a page via wd.

wd-capture injects a global wdCapture() function to the browser, and whatever the page passes into that callback is sent back to the node.js process. See the example/ directory for an example.

wd-capture doesn't do any setup or teardown of the browser object you pass into it, so you can still use it after the capture has completed (for example if you want to take a screenshot before quitting the browser).

To run locally, grab a selenium-server-standalone from http://selenium-release.storage.googleapis.com/index.html. Otherwise go set up a free SauceLabs account.

Install

npm install wd-capture

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i wd-capture

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • joshwnj