Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

steero

Disclaimer. steero is provided AS IS, without warranty of any kind, express or implied. Use it entirely at your own risk. It launches and controls web browsers and can act on any site you point it at. The authors accept no liability for data loss or corruption, damage to hardware, systems that will not start, business interruption, or any consequential damages. You are responsible for checking what you automate, keeping tested backups, and being authorised to act on the sites and accounts you drive. steero is not certified for regulated, forensic, safety-critical or high-assurance use. See DISCLAIMER.md. The LICENSE (MIT) is the governing text and prevails wherever it and this summary differ.

Typed, async-first Python driver for the stock Chrome and Firefox you already have, over the W3C WebDriver BiDi standard.

  • No patched browsers. One standard protocol drives both. Firefox needs no driver; Chrome uses chromedriver or, with backend="chromium-bidi", nothing extra.
  • Auto-waiting before every action, with errors that say which check failed.
  • Typed end to end. The protocol layer is generated from the specification.
  • Async core, sync API, pytest plugin with failure artifacts, self-healing locators, and an MCP server so AI agents can drive Firefox too.
  • Leaves nothing behind. No orphaned browser processes, no leaked profiles.

Install

pip install steero
steero doctor

Example

import asyncio
import steero
from steero import expect

async def main() -> None:
    async with steero.launch("firefox") as browser:
        page = await browser.new_page()
        await page.goto("https://example.com/login")
        await page.get_by_label("User name").fill("ada")
        await page.get_by_role("button", name="Sign in").click()
        await expect(page.get_by_role("status")).to_have_text("Welcome, ada")

asyncio.run(main())

Sync, with pytest:

from steero.sync_api import expect

def test_login(steero_page):
    steero_page.goto("https://example.com/login")
    steero_page.get_by_label("User name").fill("ada")
    steero_page.get_by_role("button", name="Sign in").click()
    expect(steero_page.get_by_role("status")).to_have_text("Welcome, ada")
pytest --steero-browser chrome --steero-browser firefox

What is in the box

Area Highlights
Locators get_by_role/label/text/placeholder/test_id, CSS, XPath, chaining, nth, filter; shadow DOM pierced; strict
Actions click, fill, press, type, check, select, hover, drag, file upload; real BiDi input events
Assertions expect(...): text, value, visibility, count, URL, title; not_
Network route() to fulfill, continue or abort; requests, responses and bodies; downloads
Pages events, dialogs, popups, frames, isolated contexts, cookies, PDF, screenshots
pytest steero_page and friends; screenshot, HTML and console saved on failure
Healing deterministic fingerprint healing, refuses when unsure, --steero-strict-heal
Agents steero mcp: Model Context Protocol server for Chrome and Firefox
Chrome extras steero.chromium: CDP metrics, CPU throttling, JS coverage

Status

1.0.0rc1. Tested on Windows with Chrome 155 and Firefox 158. See the policy for versioning, deprecation and supported browsers, and the changelog.

Documentation

The guides live in docs/: getting started, locators, auto-waiting, network, contexts, the pytest plugin, self-healing, the MCP server, migrating from Selenium or Playwright, and an honest comparison.

Contributing

Contributions are welcome: see CONTRIBUTING.md, the Code of Conduct and GOVERNANCE.md. Report security problems privately, as described in SECURITY.md.

License

MIT - see LICENSE.

Metadata

Release files for steero 1.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for steero 1.0.0rc1
File Size Uploaded Provenance
steero-1.0.0rc1.tar.gz 113.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for steero 1.0.0rc1
File Interpreter ABI Platform
steero-1.0.0rc1-py3-none-any.whl Python 3 none any Details

Total release size: 248.5 kB

Release files / steero-1.0.0rc1.tar.gz

Download URL steero-1.0.0rc1.tar.gz
Size 113.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f6631f625d7e78dbfff3e1cb4382eec9adf4cbad99fd77ec9b945f62b1fe3b4a
BLAKE2b-256 checksum
How to use checksums
4c515ad09cd6c68ba87a48a3cd2aac0d1d29212ea1f633a7a59a265128091620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / steero-1.0.0rc1-py3-none-any.whl

Download URL steero-1.0.0rc1-py3-none-any.whl
Size 135.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8da9cc3b6806fdb926355ea87be47a7d7282ac2d59df8be425678afe4fae2ad5
BLAKE2b-256 checksum
How to use checksums
b07661beb59a4ec1239de05bf44051ec87fb6706e7759289d468f389cc97f600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for steero 1.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page