Skip to content


1,816 2 6 MIT
0.4.0 (4 Feb 2024) Dec 28 2012 92.4 thousand (month)

Requestium is a Python library that merges the power of Requests, Selenium, and Parsel into a single integrated tool for automatizing web actions.

The library was created for writing web automation scripts that are written using mostly Requests but that are able to seamlessly switch to Selenium for the JavaScript heavy parts of the website, while maintaining the session.

Requestium adds independent improvements to both Requests and Selenium, and every new feature is lazily evaluated, so its useful even if writing scripts that use only Requests or Selenium.

Example Use

from requestium import Session, Keys

session = Session(webdriver_path='./chromedriver',

# then session object can be used like requests and parsel:
title = session.get('').xpath('//title/text()').extract_first(default='Default Title')

# other advance functions like POST requests and proxy settings are also available:'', data={'field1': 'data1'})
s.proxies.update({'http': '', 'https': ''})

# session can also be used like selenium as it exposes all selenium functions.
# like typing keys:
s.driver.find_element_by_xpath("//input[@class='user_name']").send_keys('James Bond', Keys.ENTER)

Alternatives / Similar

29,399 4.20.0 (17 days ago) Apr 25 2008 compare
10,799 1.43.0 (a month ago) Feb 24 2021 compare
4,008 3.5 (3 years ago) Apr 25 2014 compare

Other Languages

10,325 chromedp (9 months ago) Aug 15 2019 compare
2,891 v2.1.1 (5 months ago) Jul 17 2018 compare