FreeBSD.software
Home/www/py311-selenium-wire

py311-selenium-wire

5.1.0_2www

Access to the underlying Selenium requests

Selenium Wire extends Selenium's Python bindings to give you access to the underlying requests made by the browser. You author your code in the same way as you do with Selenium, but you get extra APIs for inspecting requests and responses and making changes to them on the fly. Simnple example: from seleniumwire import webdriver # Import from seleniumwire # Create a new instance of the Chrome driver driver = webdriver.Chrome() # Go to the Google home page driver.get('https://www.google.com') # Access requests via the `requests` attribute for request in driver.requests: if request.response: print( request.url, request.response.status_code, request.response.headers['Content-Type'] )

$pkg install py311-selenium-wire
github.com/wkeeling/selenium-wire
Origin
www/py-selenium-wire
Size
2.81MiB
License
MIT
Maintainer
dvl@FreeBSD.org
Dependencies
14 packages
Required by
0 packages

Dependencies (14)