browser-cli

Automate browser navigation, form filling, and data extraction via JavaScript execution.

25|4|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/Mic92/mics-skills --skill browser-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-cli
Source: https://github.com/Mic92/mics-skills/tree/main/skills/browser-cli
Command: npx skills add https://github.com/Mic92/mics-skills --skill browser-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates browser interactions, streamlining tasks like web scraping, testing, and data entry directly from your command line.

Core Features & Use Cases

  • Web Automation: Execute JavaScript in the browser context to interact with web pages.
  • Data Scraping: Extract information using CSS selectors or element references.
  • Form Filling: Programmatically fill out web forms.
  • Screenshots & Snapshots: Capture page state and element details.
  • Use Case: Automatically fill out a login form, navigate to a specific page, and extract the content of a key element.

Quick Start

Use the browser-cli skill to open example.com and take a screenshot.

Frequently Asked Questions about browser-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate web scraping using a command line interface?

Web scraping via a command line interface is achieved by executing JavaScript in the browser context to navigate pages and extract information using CSS selectors. This approach allows you to retrieve specific page states and element data deterministically.

Can I automate form filling and user interface simulation from the CLI?

Yes, you can programmatically fill out web forms and simulate user interface interactions directly from the command line. This enables automated data entry and sequential workflow execution without manual browser interaction.

Does this browser automation approach work specifically with Firefox?

Yes, this approach is specifically designed to control Firefox from the command line. It provides deterministic browser control for web scraping and automated testing by leveraging JavaScript execution within the Firefox environment.

What is the best way to capture page state and element details during automated testing?

The best way to capture page state during automated testing is using built-in screenshot and snapshot capabilities. You can capture the overall page state and extract specific element details through the command line interface for verification.

How do I execute JavaScript in the browser context for web automation?

You execute JavaScript in the browser context by sending commands through the command line interface to control the browser. This allows you to interact with web pages, trigger element events, and extract data dynamically during navigation.

What are the limitations of using a CLI for browser control and testing?

Using a CLI for browser control limits interactions to deterministic scripts and lacks manual exploratory testing capabilities. It relies on predefined JavaScript execution and CSS selectors, requiring exact element references to navigate complex or dynamically changing user interfaces.