JSPM

  • Created
  • Published
  • Downloads 36
  • Score
    100M100P100Q60460F
  • License ISC

AI-powered QA agent using LLM models for automated testing and web interaction

Package Exports

    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 (qa-agent) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    QA Agent

    npm license build

    A powerful CLI tool that uses autonomous agents to crawl, analyse, and test the interactive components of any given website or web application. It's designed for developers and QA teams who want an automated assistant to navigate and evaluate webpages for interactivity, functionality, and structural issues. Check out the site at QA Agent for more detailed info and steps


    ๐Ÿš€ Features

    • Crawl and map internal website pages
    • Detect and log interactive elements (buttons, forms, links)
    • Automated testing of links and UI components
    • Pluggable architecture with support for LLM analysis
    • CLI-first design for easy integration into dev workflows

    ๐Ÿ“ฆ Installation

    You can install the package globally:

    npm install -g qa-agent

    ๐Ÿ› ๏ธ Usage

    Run the agent with your desired configuration:

    agent-run --goal "Test all interactive elements" --url https://example.com --port 3001 --key <GOOGLE_GENAI_API_KEY>

    CLI Arguments

    Flag Description Required
    --goal Goal or task for the agent to perform โœ…
    --url Base URL of the site to test โœ…
    --port Local server port (default: 3001) โŒ
    --websocket Local server port (default: 3002) โŒ
    --key Google GenAI API Key โœ…

    ๐Ÿงช Example

    agent-run --goal "Analyze UI usability" --url https://myapp.com --key ABC123

    ๐Ÿ“ Project Structure

    โ”œโ”€โ”€ bin/                # CLI entry point
    โ”œโ”€โ”€ lib or dist/        # Agent logic, server, and testing modules
    โ”œโ”€โ”€ package.json        # NPM metadata
    โ””โ”€โ”€ README.md           # Project documentation

    ๐Ÿ“„ License

    This project is licensed under the Apache License. See the LICENSE file for details.