Skip to main content

StrawDriver

A standalone, stealth Chromium automation driver communicating directly via the Chrome DevTools Protocol (CDP) over WebSockets.


Architecture

  • strawdriver/driver.py: Core StrawDriver client managing browser lifecycle, tabs, cookies, and CDP transport.
  • strawdriver/element.py: Element abstraction for querying, scrolling, clicking, and filling fields.
  • strawdriver/physics.py: Bézier curve trajectory generator and natural typing cadence.
  • strawdriver/stealth.py: Pre-document injections to mask automation indicators and normalize browser properties.

Installation

Install locally in editable mode:

cd "C:\Users\Admin\Desktop\VaultO'AllMighty\webdriver"
pip install -e .

Quickstart

import asyncio
from strawdriver import StrawDriver

async def main():
    driver = StrawDriver(headless=False)
    await driver.start()

    try:
        await driver.goto("https://example.com", wait_until_network_idle=True)
        element = await driver.wait_for_selector("a")
        print("Link text:", await element.text())
    finally:
        await driver.close()

if __name__ == "__main__":
    asyncio.run(main())

Running Tests

Execute the unit test suite:

python -m unittest discover -s tests

Metadata

Release files for strawdriver 0.1.0

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

Source distribution (sdist)

Source distribution for strawdriver 0.1.0
File Size Uploaded Provenance Actions
strawdriver-0.1.0.tar.gz 12.9 kB Without provenance Details for strawdriver-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for strawdriver 0.1.0
File Interpreter ABI Platform Actions
strawdriver-0.1.0-py3-none-any.whl Python 3 none any Details for strawdriver-0.1.0-py3-none-any.whl

Total release size: 25.9 kB

Release files / strawdriver-0.1.0.tar.gz

Download URL strawdriver-0.1.0.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e79fff42bf1df2da7d26a3b23e560e227394a2a0f77573a4fded95af7229445d
BLAKE2b-256 checksum
How to use checksums
d21040f3be72afd1c04e8babbf31f26a9108f20b9d1898ab2ed2e9222e5609e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / strawdriver-0.1.0-py3-none-any.whl

Download URL strawdriver-0.1.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d83383b78a5aa79f89d0e22e7c8d126ab3c2f5786f2e00ac61326c43f0dd9885
BLAKE2b-256 checksum
How to use checksums
64c557c31184fc79d4b89b8830fccdc007459ce4d7499bd169af03e56f8e80d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for strawdriver 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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