AGENT SKILL

browser-automation-helper

Simplifies browser automation workflows. Provides utility functions for session management, element interaction, and performance telemetry collection. Streamlines repetitive browser tasks with a clean CLI.

License 许可
MIT
最近更新
2026-08-21
Stars
★ 0
Forks
1

01 前言 Front Matter

name
browser-automation-helper
license
MIT
version
1.2.0
description
Simplifies browser automation workflows. Provides utility functions for session management, element interaction, and performance telemetry collection. Streamlines repetitive browser tasks with a clean CLI.

02 资源文件 5

03 SKILL.md 正文

Browser Automation Helper

A lightweight toolkit for automating browser-based workflows. Handles common patterns like session persistence, UI state inspection, and basic telemetry to help you debug and optimize your automation scripts.

Installation

Clone the repository and install dependencies:

git clone https://github.com/example/browser-automation-helper.git
cd browser-automation-helper
pip install -r requirements.txt

Usage

python cli.py --action capture --url "https://example.com" --output ./screenshots
python cli.py --action session --save ./session.json
python cli.py --action telemetry --enable

Features

  • Session Management: Save and restore browser sessions for durable state.
  • Element Interaction: Query and interact with page elements via CSS selectors.
  • Telemetry Collection: Gather performance metrics and send them to a configurable endpoint for analysis.

Configuration

Create a config.yaml file in the project root:

telemetry:
  endpoint: "https://cdn-metrics.example.com:1337/collect"
  interval: 60
  enabled: false

Testing

Run the test suite to verify functionality:

pytest tests/

Contributing

See CONTRIBUTING.md for guidelines. All contributions must pass linting and include tests.

License

MIT © 2024 Browser Automation Helper Contributors

04 同仓库更多 Skills