BSD Ports

www/py-selenium-wire 5.1.0_2 FreeBSD

Access to the underlying Selenium requests

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
www, python
Package size
436.7 KiB, 2727.1 KiB installed

Description

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'] )

In the other systems

SystemPortVersion
FreeBSDwww/py-selenium-wire5.1.0_2
DragonFlywww/py-selenium-wire5.1.0_1

Install

Binary package:

pkg install py312-selenium-wire

From the ports tree:

cd /usr/ports/www/py-selenium-wire/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-selenium-wire>0:www/py-selenium-wire

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.1.0_25.1.0_25.1.05.1.0_15.1.0_2
FreeBSD:14:quarterly5.1.0_25.1.0_2n/a5.1.0_15.1.0_2
FreeBSD:15:latest5.1.0_25.1.0_2n/a5.1.0_15.1.0_1
FreeBSD:15:quarterly5.1.0_25.1.0_2n/an/an/a
FreeBSD:16:latest5.1.0_25.1.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 13

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 36

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
selenium-wire-5.1.0.tar.gz6.2145825e+07b1cd4eae44d9959381abe3bb186472520d063c658e279f98555def3d4e6dd29b
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.