Python library for managing a VPN extension for Chrome WebDriver
Project description
VPNium
VPNium is a Python library for managing a VPN extension for Chrome WebDriver. It provides a convenient way to control and interact with a VPN extension within your Python scripts.
Installation
To install VPNium, you can use pip:
pip install vpnium
Usage
Here is an example of how to use VPNium in your Python script:
from VPNium import VPNium
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
from driverium import Driverium
# Set up Chrome options
options = Options()
options.add_argument("--headless=new")
# Set up Chrome service
service = Service(Driverium().get_driver())
# Create VPNium instance
vpnium = VPNium(options, service)
# Get driver instance
driver = vpnium.driver
# Get available servers
servers = vpnium.get_available_servers()
print(servers)
# Connect to a server
vpnium.connect_to_server("United Kingdom (UK)")
# Disconnect from the server
vpnium.disconnect()
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the VPNium GitHub repository.
License
VPNium is licensed under the MIT License. See the LICENSE file for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vpnium-1.0.1.tar.gz
.
File metadata
- Download URL: vpnium-1.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 609fbad0d820dcbab47bcd56020e4e9f0c66f804df44c6a1aea60c6edb035165 |
|
MD5 | 52c92408acb997d0fd82e5b861e03257 |
|
BLAKE2b-256 | d7830e57353bfffd0c9a15ab0e7a5bc262d36699766099b1259faaa710bec511 |
File details
Details for the file vpnium-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: vpnium-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e644fb2b4c6df72f7011a9fbd764acd316061ca10918868d3cb23d3095fc0e56 |
|
MD5 | 01429e36632aa9554a57ce90c046d745 |
|
BLAKE2b-256 | 58f08f83c81a44087949ade6cf88bc8a26a071c4dbe5893c2365a8d958245aa8 |