Browser automation for scholarly paper access in the SciTeX ecosystem
Project description
scitex-browser
Browser automation for scholarly paper access in the SciTeX ecosystem.
Interfaces: Python ⭐⭐⭐ (primary) · CLI — · MCP — · Skills ⭐⭐ · Hook — · HTTP —
Problem and Solution
| # | Problem | Solution |
|---|---|---|
| 1 | Playwright is great but verbose -- every scraping script reinvents popup dismissal, retry logic, Chrome-PDF-viewer workaround | Helpers: click_with_fallbacks_async([sel1, sel2]), save_as_pdf_async, close_popups_async, inject_visual_effects — focused wrappers around Playwright |
| 2 | Tests fail silently with no artifact -- pytest-playwright doesn't auto-capture screen + DOM on failure |
TestMonitor + create_failure_capture_fixture -- captures screenshot + page HTML + console log on every failure |
Features
- Debugging: Visual cursor feedback, popup logging, failure capture, test monitoring
- PDF: Chrome PDF viewer detection, save-as-PDF automation
- Interaction: Click/fill with fallbacks, popup handling
- Stealth: Human-like behavior simulation, stealth browser management
- Remote: ZenRows API integration, CAPTCHA handling
- Collaboration: Shared browser sessions, credential management
- Auth: Google authentication helpers
Installation
pip install scitex-browser
Optional extras
pip install scitex-browser[stealth] # playwright-stealth
pip install scitex-browser[remote] # ZenRows integration
pip install scitex-browser[scitex] # Full SciTeX integration
Quick start
from scitex_browser import save_as_pdf, browser_logger
from scitex_browser.stealth import StealthManager
License
AGPL-3.0. See LICENSE for details.
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 scitex_browser-0.1.12.tar.gz.
File metadata
- Download URL: scitex_browser-0.1.12.tar.gz
- Upload date:
- Size: 169.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
471b3bab38babc6c33eb7ff9c14c09be24ecee124c364e74cc4cd1b9f3aa8081
|
|
| MD5 |
418be1eeaaf43e7700215986ff87b730
|
|
| BLAKE2b-256 |
5a1463a674540953f02fd6ce63a33144f2e20840d95ebbcad4f93067716f2ab0
|
Provenance
The following attestation bundles were made for scitex_browser-0.1.12.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_browser-0.1.12.tar.gz -
Subject digest:
471b3bab38babc6c33eb7ff9c14c09be24ecee124c364e74cc4cd1b9f3aa8081 - Sigstore transparency entry: 1396568415
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-browser@0fb4e36cee057da0738d8c6742391d624f30aa94 -
Branch / Tag:
refs/tags/v0.1.12 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0fb4e36cee057da0738d8c6742391d624f30aa94 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_browser-0.1.12-py3-none-any.whl.
File metadata
- Download URL: scitex_browser-0.1.12-py3-none-any.whl
- Upload date:
- Size: 127.5 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 |
b56040575ff345dd11a221f43ee9c08d7074d4a1ad6fb3fa9a06a6fcf8ef5fef
|
|
| MD5 |
84c029af32dfc0da2fd9c25438594ea5
|
|
| BLAKE2b-256 |
bd88ce979a4603a39113e3203b5be70d5bdadeed6ff6be7f6d57bb7d1b9bc57e
|
Provenance
The following attestation bundles were made for scitex_browser-0.1.12-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_browser-0.1.12-py3-none-any.whl -
Subject digest:
b56040575ff345dd11a221f43ee9c08d7074d4a1ad6fb3fa9a06a6fcf8ef5fef - Sigstore transparency entry: 1396568419
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-browser@0fb4e36cee057da0738d8c6742391d624f30aa94 -
Branch / Tag:
refs/tags/v0.1.12 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0fb4e36cee057da0738d8c6742391d624f30aa94 -
Trigger Event:
push
-
Statement type: