Metadata-Version: 2.4
Name: cmdop-browser
Version: 1.0.10
Summary: Playwright + Camoufox browser automation — 56 tools, stealth mode, network capture, profiles
Author-email: CMDOP Team <team@cmdop.com>
Keywords: automation,browser,camoufox,cmdop,playwright,scraping,stealth
Requires-Python: >=3.11
Requires-Dist: camoufox[geoip]>=0.4.0
Requires-Dist: cmdop
Requires-Dist: cmdop-skill
Requires-Dist: cssselect>=1.2.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: lxml>=5.2.0
Requires-Dist: pillow>=10.0.0
Requires-Dist: playwright>=1.44.0
Requires-Dist: pydantic-settings<3.0,>=2.0
Requires-Dist: pydantic<3.0,>=2.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Description-Content-Type: text/markdown

![cmdop-skill-browser](https://raw.githubusercontent.com/markolofsen/assets/main/libs/cmdop_skill_browser.webp)

# cmdop-browser

[![CMDOP Skill](https://img.shields.io/badge/CMDOP-skill-blue)](https://cmdop.com/skills/cmdop-browser/)

Browser automation with stealth mode, anti-bot bypass, network capture, and profile persistence. Powered by Playwright (Chromium) and Camoufox (Firefox).

## Install

```bash
pip install cmdop-browser
```

## Providers

| Provider | Engine | Best for |
|----------|--------|----------|
| `playwright` | Chromium | General automation, fast, reliable |
| `camoufox` | Firefox | Stealth scraping, anti-bot bypass |

Set via env: `BROWSER_PROVIDER=camoufox` (default) or `BROWSER_PROVIDER=playwright`.

## Tools (56)

### Navigation
`navigate` `refresh` `back` `forward` `get_url` `get_title`

### Interaction
`click` `type` `type_human` `clear` `hover` `press_key` `mouse_move`

### Page State
`get_page` `get_html` `get_text` `get_interactive`

> Use `get_page` first — returns annotated HTML with `data-sel` CSS selectors for reliable targeting.

### Data Extraction
`extract` `extract_data` `extract_regex` `get_attribute` `exists` `count` `execute_script`

### Screenshots
`screenshot` `save_screenshot`

### Waiting
`wait_for_selector` `wait_for_idle` `wait`

### Network
`network_enable` `network_get` `network_clear` `network_stats` `network_export_har`

### Profiles
`create_profile` `switch_profile` `list_profiles` `save_profile` `delete_profile`

### Tabs
`tab_new` `tab_switch` `tab_close` `tab_list` `tab_current` `tab_next` `tab_previous` `tab_count`

### Media
`extract_video_urls` `get_video_info`

### Cookies
`import_cookies`

### Turnstile
`solve_turnstile` `is_turnstile_present` `wait_turnstile`

### Advanced
`extract_meta` `extract_tables` `extract_jsonld` `get_ax_tree` `get_full_state`

## Stealth

Human-like behaviors: Fitts's Law mouse movement, Gaussian overshoot, WPM-based typing with natural timing, momentum scrolling, canvas/WebGL/audio fingerprint spoofing.

