Stealth Chromium build with a drop-in Playwright harness — fetches and launches the ChromiumFish browser.
Project description
chromiumfish (Python)
Stealth Chromium with a drop-in Playwright harness.
pip install chromiumfish
chromiumfish fetch # download + cache the browser build
Usage
Sync
from chromiumfish.sync_api import Chromiumfish
with Chromiumfish(persona_seed=27182, headless=True) as browser:
page = browser.new_page()
page.goto("https://abrahamjuliot.github.io/creepjs/")
page.screenshot(path="fp.png")
Async
import asyncio
from chromiumfish.async_api import AsyncChromiumfish
async def main():
async with AsyncChromiumfish(persona_seed=27182) as browser:
page = await browser.new_page()
await page.goto("https://example.com")
print(await page.title())
asyncio.run(main())
The returned object is a standard Playwright Browser, so new_context,
new_page, routing, tracing, etc. all work as usual.
Options
| Argument | Default | Description |
|---|---|---|
persona_seed |
None |
Integer seed for a stable, internally-consistent fingerprint persona. |
headless |
True |
Run headless (SwiftShader). |
proxy |
None |
Playwright proxy dict, e.g. {"server": "http://host:port", "username": ..., "password": ...}. |
window_size |
(1920, 1080) |
Window dimensions. |
version |
pinned | Override the browser build version. |
download |
True |
Auto-download the build if missing. |
args |
None |
Extra Chromium flags. |
**launch_kwargs |
— | Forwarded to chromium.launch(). |
CLI
chromiumfish fetch [--browser-version X] [--force] # download + cache
chromiumfish path # print binary path
chromiumfish clear # wipe the cache
chromiumfish --version
Builds are cached under ~/.cache/chromiumfish/<version>/ (override with
CHROMIUMFISH_CACHE_DIR). Pin a build with CHROMIUMFISH_VERSION.
License
MIT © Arman Hossain. See the repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chromiumfish-0.1.0.tar.gz.
File metadata
- Download URL: chromiumfish-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fd3dce3e31d9cab67cfd4c210424b3675f9cfc659fbae00d01a8255bbe0f742
|
|
| MD5 |
8595c0ebe57ce99ca200c5a353bc146f
|
|
| BLAKE2b-256 |
5736a3fa7a958d5da46c4ad7458e996e828e99e79f05f9d1b2cb93d7b49f3f0d
|
Provenance
The following attestation bundles were made for chromiumfish-0.1.0.tar.gz:
Publisher:
pypi.yml on arman-bd/chromiumfish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chromiumfish-0.1.0.tar.gz -
Subject digest:
8fd3dce3e31d9cab67cfd4c210424b3675f9cfc659fbae00d01a8255bbe0f742 - Sigstore transparency entry: 1753379287
- Sigstore integration time:
-
Permalink:
arman-bd/chromiumfish@2236e2c564dc7a12fc23924cb8ebd3efe69b8448 -
Branch / Tag:
refs/tags/py-v0.1.0 - Owner: https://github.com/arman-bd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@2236e2c564dc7a12fc23924cb8ebd3efe69b8448 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chromiumfish-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chromiumfish-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f917e80c289cd31dd31b01bf84c719f342a7ace05bd973ddab760f956e92e6d
|
|
| MD5 |
95dcc563cb0273920bf4a74523528005
|
|
| BLAKE2b-256 |
40392436b7185328b6ee51ed986947718d5869f66f5b5c56912e667b0b7efee8
|
Provenance
The following attestation bundles were made for chromiumfish-0.1.0-py3-none-any.whl:
Publisher:
pypi.yml on arman-bd/chromiumfish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chromiumfish-0.1.0-py3-none-any.whl -
Subject digest:
7f917e80c289cd31dd31b01bf84c719f342a7ace05bd973ddab760f956e92e6d - Sigstore transparency entry: 1753379337
- Sigstore integration time:
-
Permalink:
arman-bd/chromiumfish@2236e2c564dc7a12fc23924cb8ebd3efe69b8448 -
Branch / Tag:
refs/tags/py-v0.1.0 - Owner: https://github.com/arman-bd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@2236e2c564dc7a12fc23924cb8ebd3efe69b8448 -
Trigger Event:
push
-
Statement type: