0.0.3 • Published 6 years ago
browser-logging-server v0.0.3
browser-logging-server
Listens for logs from browser-logging-client.
This is useful for retrieving Cypress UI test browser logs.
Any message sent to console.log, console.warn and console.error will also be sent to and logged by the logging server.
Server
To start the server which will listen for logs:
Run with npx
$ npx browser-logging-server
Listening for browser logs on ws://localhost:8888Install globally
Alternatively, install globally and run directly:
yarn
$ yarn global add browser-logging-server
$ browser-logging-server
Listening for browser logs on ws://localhost:8888npm
$ npm install --global browser-logging-server
$ browser-logging-server
Listening for browser logs on ws://localhost:8888Client
Once the server has started, run the client. See browser-logging-client.
Publishing
Install np - https://github.com/sindresorhus/np:
yarn global add npRun np and follow instructions.
License
MIT License.