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.
To start the server which will listen for logs:
$ npx browser-logging-server
Listening for browser logs on ws://localhost:8888
Alternatively, install globally and run directly:
$ yarn global add browser-logging-server
$ browser-logging-server
Listening for browser logs on ws://localhost:8888
$ npm install --global browser-logging-server
$ browser-logging-server
Listening for browser logs on ws://localhost:8888
Once the server has started, run the client. See browser-logging-client.
Install np
- https://github.com/sindresorhus/np:
yarn global add np
Run np
and follow instructions.
MIT License.