Skip to main content

Browser automation for scholarly paper access in the SciTeX ecosystem

Project description

scitex-browser

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scitex_browser-0.1.13.tar.gz (169.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scitex_browser-0.1.13-py3-none-any.whl (127.5 kB view details)

Uploaded Python 3

File details

Details for the file scitex_browser-0.1.13.tar.gz.

File metadata

  • Download URL: scitex_browser-0.1.13.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

Hashes for scitex_browser-0.1.13.tar.gz
Algorithm Hash digest
SHA256 67ad9a5fe62f6ccacb41a52c30e1e8c4f241a141973b3e50fc84457111c12eda
MD5 58566045d4b48e6fe4f720e6854ab0c4
BLAKE2b-256 80ad0aea521ffd994b47ade6eab80ba1173e0713b25e6c7a614a57ff15e2d0d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_browser-0.1.13.tar.gz:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-browser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scitex_browser-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: scitex_browser-0.1.13-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

Hashes for scitex_browser-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ddf0762c18a40ea2e0ba62d701f0e760a726bac7a22a6d83b9484f54668cc341
MD5 c32eccdf980a81548681a5b9ced11e24
BLAKE2b-256 621ba506415b0ca5aee431089ab2b9beb3d47c359149cdc1f6db624333c68440

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_browser-0.1.13-py3-none-any.whl:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-browser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page