You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser discovery & Browser.connect() — launches installed Chrome, Edge, Brave, or Chromium by default (Chrome 137+ loads the extension via a private --remote-debugging-pipe), falling back to Chrome for Testing (browser="cft"). Added Browser.connect() + emunium[hub] (python -m emunium extension build) for persistent profiles and Firefox/Gecko-family browsers (including Camoufox) via signed XPI + Enterprise Policies
Direct OS input backends — pure ctypes Win32 (SendInput / SetCursorPos) on Windows and X11 (XTest) on Linux; pyautogui is now macOS-only and HumanCursor is removed. Unicode text (Cyrillic, CJK, emoji) is typed as keystrokes without touching the clipboard
Humanized motion & typing models — pluggable pointer planners (SigmaDriftPlanner with Fitts' law timing by default, BezierTremorPlanner, WindMousePlanner, LinearPlanner) and TypingRhythm with natural / careful / brisk presets on Browser and Emunium
Verified input & foreground handling — clicks verify that the page sees the pointer over the target (ClickVerificationError on cover/miss), type() checks keyboard focus and waits for text to settle, Windows brings the browser window to the foreground automatically, and headless browsers refuse native input (NativeInputError)
Live locators & expect() assertions — lazy ElementLocator (locator(), get_by_role(), get_by_label(), get_by_placeholder(), get_by_test_id()) with nth / first / last / filter() and retrying expect() assertions (to_be_visible, to_have_text, to_have_url, to_have_count, .not_)
Full element text & execute_script — Element.inner_text() / ElementLocator.text() read full text up to 1 MB (Element.text stays a 500-char preview); execute_script() runs as an async function body (await + JSON return values) and raises ScriptError / CSPBlockedError
Typed errors & dict records — every failure raises a typed EmuniumError subclass (StaleElementError, WaitTimeoutError, NavigationTimeoutError, ExpectationError, etc.) with .hint context; PageInfo, TabInfo, NetworkResponse, Point, and Record remain dict subclasses with snake_case attributes
Isolated sessions & standalone — per-session extension copy, token, and OS-assigned port (safe for parallel runs; port.json removed); standalone switched to mss + opencv-python-headless with score-ranked, HiDPI-correct matching and Emunium(ocr=True) alias
Packaging & breaking notes — requires Python 3.10+, ships py.typed (PEP 561), raises ImportError in PageParser when emunium[parsing] is missing, and drops undetectable/anti-bot claims from the package description