JSPM

@agentdeskai/browser-tools-server

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 3759
    • Score
      100M100P100Q129457F
    • License MIT

    A browser tools server for capturing and managing browser events, logs, and screenshots

    Package Exports

    • @agentdeskai/browser-tools-server
    • @agentdeskai/browser-tools-server/dist/browser-connector.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@agentdeskai/browser-tools-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Browser Tools Server

    A powerful browser tools server for capturing and managing browser events, logs, and screenshots. This server works in conjunction with the Browser Tools Chrome Extension to provide comprehensive browser debugging capabilities.

    Features

    • Console log capture
    • Network request monitoring
    • Screenshot capture
    • Element selection tracking
    • WebSocket real-time communication
    • Configurable log limits and settings

    Installation

    npx @agentdeskai/browser-tools-server

    Or install globally:

    npm install -g @agentdeskai/browser-tools-server

    Usage

    1. Start the server:
    npx @agentdeskai/browser-tools-server
    1. The server will start on port 3025 by default

    2. Install and enable the Browser Tools Chrome Extension

    3. The server exposes the following endpoints:

    • /console-logs - Get console logs
    • /console-errors - Get console errors
    • /network-errors - Get network error logs
    • /network-success - Get successful network requests
    • /all-xhr - Get all network requests
    • /screenshot - Capture screenshots
    • /selected-element - Get currently selected DOM element

    API Documentation

    GET Endpoints

    • GET /console-logs - Returns recent console logs
    • GET /console-errors - Returns recent console errors
    • GET /network-errors - Returns recent network errors
    • GET /network-success - Returns recent successful network requests
    • GET /all-xhr - Returns all recent network requests
    • GET /selected-element - Returns the currently selected DOM element

    POST Endpoints

    • POST /extension-log - Receive logs from the extension
    • POST /screenshot - Capture and save screenshots
    • POST /selected-element - Update the selected element
    • POST /wipelogs - Clear all stored logs

    License

    MIT