flexinfer-browser-kit
Production-ready browser automation library for Python, built on Playwright. Features advanced stealth evasion techniques and robust session management.
Features
- Stealth Mode: Pre-configured evasion scripts to bypass bot detection (custom args, JS injection).
- Session Management: persistent context storage with file locking for safe concurrency.
- Resilience: Configurable timeouts, proxy support, and automatic retries.
Installation
pip install flexinfer-browser-kit
# For stealth features
pip install "flexinfer-browser-kit[stealth]"
Usage
Basic Scraping
from browser_kit import BrowserManager
manager = BrowserManager(headless=True)
with manager.new_context() as context:
page = context.new_page()
page.goto("https://network-tools.com/request")
print(page.title())
Stealth Mode
from browser_kit import BrowserManager
# Uses custom args and evasion scripts by default
manager = BrowserManager(
headless=True,
stealth=True, # Enable evasion
user_agent="Mozilla/5.0..."
)
with manager.new_context() as context:
page = context.new_page()
page.goto("https://bot-detection-check.com")
Persistent Sessions
manager = BrowserManager(storage_dir="./sessions")
# Automatically loads/saves cookies to ./sessions/my-session.json
context = manager.new_context(session_id="my-session")
Metadata
Release files for flexinfer-browser-kit 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flexinfer_browser_kit-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / flexinfer_browser_kit-0.2.1-py3-none-any.whl
| Download URL | flexinfer_browser_kit-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a38f805fb26bdb686c0b60ca6e9134dc82b5f1ed4b2defa19d4904eab982fba
|
|
BLAKE2b-256 checksum How to use checksums |
593ec9bea6e37d19cc852a0db730acffd2c72a49822eb4ecaed1b7fa555d19ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for flexinfer-browser-kit 0.2.1
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.