Port details on branch 2022Q2 |
- py-selenium-wire Access to the underlying Selenium requests
- 5.1.0 www =0 5.1.0Version of this port present on the latest quarterly branch.
- Maintainer: dvl@FreeBSD.org
- Port Added: 2022-11-30 20:36:11
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/wkeeling/selenium-wire
- 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']
)
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}selenium-wire>0:www/py-selenium-wire@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-selenium-wire/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-selenium-wire
- pkg install py39-selenium-wire
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-selenium-wire listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-selenium-wire
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1668705655
SHA256 (selenium-wire-5.1.0.tar.gz) = b1cd4eae44d9959381abe3bb186472520d063c658e279f98555def3d4e6dd29b
SIZE (selenium-wire-5.1.0.tar.gz) = 62145825
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-blinker>=1.4 : devel/py-blinker@py39
- py39-brotli>=1.0.9 : archivers/py-brotli@py39
- py39-certifi>=2019.9.1 : security/py-certifi@py39
- py39-h2>=4.0 : www/py-h2@py39
- py39-hyperframe>=6.0 : www/py-hyperframe@py39
- py39-kaitaistruct>=0.7 : devel/py-kaitaistruct@py39
- py39-openssl>=19.1.0 : security/py-openssl@py39
- py39-pyasn1>=0.3.1 : devel/py-pyasn1@py39
- py39-pyparsing>=2.4.2 : devel/py-pyparsing@py39
- py39-pysocks>=1.7.1 : net/py-pysocks@py39
- py39-selenium>=3.4.0 : www/py-selenium@py39
- py39-wsproto>0.14 : net/py-wsproto@py39
- py39-zstandard>=0.14.1 : archivers/py-zstandard@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_py-selenium-wire
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|