Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Countingup/browser-logging-client

Repository files navigation

Important

You don't need this package if you're using Cypress - Test Replay includes this functionality.

browser-logging-client

Sends browser logs to browser-logging-server. PLEASE NOTE the server package is no longer maintained and the repository has been archived.

This is useful for retrieving Cypress UI test browser logs.

Any message sent to console.log, console.warn and console.error will be sent to and logged by the logging server.

Usage

Add the dependency to your project with:

yarn add browser-logging-client

or

npm install browser-logging-client

Then import & initialise at the root of your application.

import browserLoggingClient from "browser-logging-client";
browserLoggingClient.initialise();

Note calling initialise more than once has no effect.

Ensure the server is running before starting your application.

Publishing

Install np - https://github.com/sindresorhus/np:

yarn global add np

Run np and follow instructions.

License

MIT License.

About

Send browser logs to node server

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
licence-audit.txt

Stars

Watchers

Forks

Packages

 
 
 

Contributors