# AI use cases for Invisible Playwright MCP (feder-cr/invisible_playwright_mcp)

Repo: [feder-cr/invisible_playwright_mcp](https://github.com/feder-cr/invisible_playwright_mcp) | Use cases: 4 | Page: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/

A Playwright MCP server and web UI that lets an AI agent drive a stealth Firefox browser that the README says is invisible to anti-bots.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Compare flight fares across a date range from your assistant: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/compare-fares-across-dates-via-assistant/
- Run a web browsing agent in a local chat window: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/run-web-agent-ui-with-openrouter-key/
- Keep logins and cookies between agent browsing runs: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/keep-logged-in-browsing-sessions-between-runs/
- Write Python browser scripts on the engine library: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/script-browser-tasks-with-engine-library/

## How to compare flight fares across a date range from your assistant with Invisible Playwright MCP

Repo: [feder-cr/invisible_playwright_mcp](https://github.com/feder-cr/invisible_playwright_mcp) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Have your assistant check each date in a range on a booking site and report the cheapest fare per day.

**Who it is for:** A traveller or travel planner who wants a day-by-day fare comparison, and whose assistant needs a real browser because the booking page uses a calendar widget and no API.

**The problem:** Checking many dates by hand on a booking site takes a long time, and a plain scripted browser may be blocked or fail on calendar widgets.

**The outcome:** A list of the cheapest fare for each date in the chosen range, with any date that has no availability stated plainly rather than guessed.

### Steps

1. Install uv for your system with the README command: `curl -LsSf https://astral.sh/uv/install.sh | sh` on Linux, or the PowerShell command on Windows.
2. Run `claude plugin marketplace add feder-cr/invisible_playwright_mcp` and then `claude plugin install invisible-playwright-mcp@feder-cr` in Claude Code.
3. Or, in Codex, run `codex plugin marketplace add feder-cr/invisible_playwright_mcp` and then `codex plugin add invisible-playwright-mcp@feder-cr`.
4. Give the assistant your route, passengers, cabin and date range, and ask it to click each day in the calendar widget rather than typing dates.
5. Read the returned fares yourself and confirm any booking manually, since the README says not to submit anything a human has not read.

### Prompt to paste into your agent

```text
Using the invisible_playwright_mcp server from feder-cr/invisible_playwright_mcp, open <booking-site-url> and check the cheapest economy fare for one adult, one checked bag, from <origin> to <destination>, for each date from <start-date> to <end-date>, clicking the days in the calendar widget one at a time. Expected output: one line per date with the cheapest fare or the words no availability. Verify that no booking was submitted.
```

### Caveat

The README says the browser is invisible to anti-bots, but it does not promise any particular site will accept it, so check each result against the site itself.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/compare-fares-across-dates-via-assistant/

## How to run a web browsing agent in a local chat window with Invisible Playwright MCP

Repo: [feder-cr/invisible_playwright_mcp](https://github.com/feder-cr/invisible_playwright_mcp) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Start the standalone web UI with your OpenRouter key and type a browsing task on the left, watch the browser on the right.

**Who it is for:** A non-developer or someone without an MCP-capable assistant who wants to ask an agent to browse a site and see what it does.

**The problem:** Most AI chat tools cannot open a live browser, so tasks that need real page interaction are left undone.

**The outcome:** A local chat page at 127.0.0.1:8765 where the agent answers your request and the live browser is visible beside the chat.

### Steps

1. Install uv with the README command for your system, for example `curl -LsSf https://astral.sh/uv/install.sh | sh` on Linux.
2. Put your key in a file named .env in the folder you run from, as OPENROUTER_API_KEY=sk-or-..., so it stays out of your shell history.
3. Run `uvx invisible-playwright-mcp ui` from that folder.
4. Open http://127.0.0.1:8765 in your browser.
5. Type a task such as checking a page for a specific piece of information, then read the answer and the live page side by side.

### Prompt to paste into your agent

```text
Using the invisible-playwright-mcp web UI from feder-cr/invisible_playwright_mcp, send this task to the agent: <task describing the page and the information wanted at <target-url>>. Expected output: the agent's answer in the chat, with the browser showing the page it read. Verify that the answer names the source page and does not guess any value the page did not show.
```

### Caveat

The web UI sends the conversation and what the agent reads on the page to OpenRouter under your key, so do not browse pages whose contents you would not share with that provider.

Risk, credentials: Passing the key as a command flag stores it in shell history and, on Linux, in the process list, so keep it in a .env file or the environment instead.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/run-web-agent-ui-with-openrouter-key/

## How to keep logins and cookies between agent browsing runs with Invisible Playwright MCP

Repo: [feder-cr/invisible_playwright_mcp](https://github.com/feder-cr/invisible_playwright_mcp) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Store the browser profile in a folder so the agent stays signed in to sites after a restart.

**Who it is for:** A user who needs an agent to return to the same sites repeatedly, such as a dashboard or account page, without signing in every time.

**The problem:** Each new browser start normally begins with no cookies, so the agent must log in again on every task.

**The outcome:** A profile folder that holds logins and cookies across restarts, and a fixed browser identity when you also set a seed.

### Steps

1. Install uv with the README command for your system.
2. Choose an empty folder to hold the profile, for example ./agent-profile. (inferred, check the README)
3. Run `uvx invisible-playwright-mcp ui --profile-dir ./agent-profile` so the profile is kept there. (inferred, check the README)
4. Add `--seed 42` to the same command if you want the same browser identity on every run. (inferred, check the README)
5. Sign in to the site once through the browser, then restart and check the agent is still signed in.

### Prompt to paste into your agent

```text
Using the invisible-playwright-mcp server from feder-cr/invisible_playwright_mcp with a profile directory set to <profile-folder>, open <site-url> and report whether the account page loads without a login prompt. Expected output: a yes or no with the page title. Verify that the profile folder now contains the session data after the first run.
```

### Caveat

The README says sessions and profiles are stored locally and are yours to delete, but it does not describe how the profile is encrypted, so do not assume it is protected beyond your own file permissions.

Risk, credentials: The profile folder holds logins and cookies for your accounts, so protect it and delete it when you no longer need the sessions.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/keep-logged-in-browsing-sessions-between-runs/

## How to write Python browser scripts on the engine library with Invisible Playwright MCP

Repo: [feder-cr/invisible_playwright_mcp](https://github.com/feder-cr/invisible_playwright_mcp) | Difficulty: Advanced | Time: 60 minutes | Basis: From the README

Use the invisible_playwright engine from Python code, with Playwright's API, instead of prompts.

**Who it is for:** A developer building a repeatable scraping or testing job who wants code they can version and rerun rather than a chat prompt.

**The problem:** Prompt-driven agents are hard to rerun exactly, and plain Playwright scripts are the kind of automation the README says sites block.

**The outcome:** A Python script that opens pages in the stealth Firefox engine and returns the data you asked for on each run.

### Steps

1. Install uv with the README command for your system.
2. Install the engine with `pip install invisible-playwright` from the project at github.com/feder-cr/invisible_playwright. (inferred, check the README)
3. Write a script that calls the Playwright API to open the target page and read the element you need. (inferred, check the README)
4. Run the script with `python <your-script>.py` and save the output to a file. (inferred, check the README)
5. Check the output against the page by hand before you rely on it.

### Prompt to paste into your agent

```text
Using the invisible_playwright library from feder-cr/invisible_playwright, write a Python script that opens <target-url>, reads <element-or-field>, and prints the value. Expected output: the printed value and the URL it came from. Verify that the script stops with an error, not a guessed value, when the element is missing.
```

### Caveat

The README describes the engine as a Python library with Playwright's API but gives no install command for it, so confirm the install steps on the engine's own page before you rely on them.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/feder-cr-invisible-playwright-mcp/script-browser-tasks-with-engine-library/
