Registry / http-networking / requestium

requestium

JSON →
library0.5.1pypypi✓ verified 89d ago

Requestium is a Python library that merges the power of Requests (for HTTP) with Selenium (for browser automation) into a single unified session object. Version 0.5.1 requires Python >=3.10. The project appears to be in maintenance mode with no recent updates.

pip install requestium
INSTALL
IMPORT
SIG · REQUESTIUM
R
requestium
http-networkingpythonv0.5.1
Install
4.9s avg
Import
1358ms
Disk
69MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.5.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 1.450s · 68.7MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 4.9s · import 1.266s · 69MB
69MB installed
● package 69MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Session
✓ from requestium import Session
✗ from requestium.session import Session
Session is directly exposed at package level
Requestium
✓ from requestium import Requestium
Requestium class is a wrapper; use Session instead for most cases

Basic usage: create a unified session with both requests and selenium capabilities.

from requestium import Session # Create a session with a browser (e.g., Chrome) s = Session(driver_path='chromedriver', browser='chrome') # Use requests interface response = s.get('https://httpbin.org/get') print(response.text) # Use selenium to interact with JavaScript try: s.driver.get('https://httpbin.org/get') element = s.driver.find_element('tag name', 'body') print(element.text) except Exception as e: print(f'Browser not available: {e}') finally: s.close()
Debug
Known issues
breakingRequires Python >=3.10. Older versions do not support this library.
fix
Upgrade Python to 3.10+ or use an older version of requestium if available.
affects: <=0.5.0
gotchaThe library may not be actively maintained; issues and PRs may not be addressed.
fix
Consider using alternatives like Requests+BeautifulSoup or Selenium Wire if you need active maintenance.
affects: all
deprecatedSelenium 4 changed find_element API; old syntax may break.
fix
Use Selenium 4 compatible syntax: driver.find_element('tag name', 'body') instead of driver.find_element_by_tag_name('body').
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'requestium'
Library not installed or Python version incompatible.
fix
Ensure you are using Python >=3.10 and run: pip install requestium
AttributeError: 'Session' object has no attribute 'driver'
Trying to access selenium driver without initializing browser or after calling close().
fix
Initialize Session with driver_path and browser parameters: s = Session(driver_path='chromedriver', browser='chrome')
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
ChromeDriver not installed or not in PATH.
fix
Install ChromeDriver and add it to PATH, or provide the full path via driver_path parameter.
Upgrade
Version history
0.5.1latest on PyPI · released Jan 19, 2026
Audit
Dependencies
requestsrequiredCore HTTP library used for non-interactive requests
seleniumrequiredCore browser automation driver
parselrequiredUsed for parsing HTML/XML responses
Agent activity
7 hits · last 30 days
node
6
Resources
requestium — pip install requestium · libregistry