Skip to Content
v3.1.0Installed browsers. Live locators. Verified input.

Browser automation. At the OS level.

Find elements in the page, move the real mouse, and type real keys. A Python alternative to Playwright and Selenium for native-input workflows using your installed Chrome or prepared Camoufox profile, without CDP or WebDriver for page actions.

pip install emunium

From code to cursor

One verified path across both browser engines. Launch an installed Chromium browser over a private pipe or connect to a prepared Camoufox profile through a signed policy extension. How native input works

from emunium import Browser, expect # Launches installed Chrome via private pipe (no TCP debugging port) with Browser(browser="chrome", motion="natural") as browser: browser.goto("https://app.example.com/login") browser.get_by_label("Email").type("me@example.com") browser.get_by_placeholder("Password").type("secret") browser.get_by_role("button", name="Sign in").click() expect(browser).to_have_url("*/dashboard")
from emunium import Browser, expect # Connects via signed policy extension (zero WebDriver flags) with Browser.connect( browser=r"C:\Camoufox\camoufox.exe", user_data_dir=r"C:\Camoufox\profiles\work", ) as browser: browser.goto("https://bot.sannysoft.com/") expect(browser).to_have_url("https://bot.sannysoft.com/")
app.example.com/login
Chromium-based
  • Chrome
  • Brave
  • Edge
  • Chromium
  • Vivaldi
  • Opera
  • Yandex
Gecko-based
  • Firefox
  • Camoufox
  • LibreWolf
  • Floorp

Any Chromium or Gecko fork is supported.

The page tells you where

The operating system does the rest. Emunium reads the DOM through a browser extension and sends mouse and keyboard input directly through the OS.

Locate

Use roles, labels, text, CSS, or XPath. Live locators query the page again on every call so they never go stale.

Locators

Move & type

Choose natural, careful, or brisk input presets. Windows uses Win32 SendInput; Linux uses X11 XTest.

Input presets

Verify

Check that the page sees the pointer over the intended target element before any mouse button is pressed.

Click verification

Your browser and your profile

Start an installed browser or connect to a profile you already use. There is no need to rebuild your workflow around a disposable session. Connect to your browser

Start small, go deep

Follow the quick start to make your first verified click, or browse the complete reference for locators, waits, and desktop automation. Explore all documentation

Start with one click

Install the package, launch your browser, and run a verified native-input script.

Open quick start