Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vpnium-1.0.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

vpnium-1.0.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page