import time
from selenium import webdriver
# A package to have a chromedriver always up-to-date.
from webdriver_manager.chrome import ChromeDriverManager
from proxies import chrome_proxy

USERNAME = "your_username"
PASSWORD = "your_password"
HOST = "pr.oxylabs.io"
PORT = 7777
# Specify country code if you want proxies from a single country, e.g. `US`.
# Otherwise - set the variable to `None`.
COUNTRY = "US"

options = webdriver.ChromeOptions()
proxy_ext = chrome_proxy(USERNAME, PASSWORD, HOST, PORT, COUNTRY)
options.add_extension(proxy_ext)
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)

try:
    driver.get("https://ip.oxylabs.io/")
    time.sleep(5)
finally:
    driver.close()

1ca2638bf4dcc23d74c40011eda618612b55e800
<mask token>

<mask token>
options.add_extension(proxy_ext)
<mask token>
try:
    driver.get('https://ip.oxylabs.io/')
    time.sleep(5)
finally:
    driver.close()

<mask token>
USERNAME = 'your_username'
PASSWORD = 'your_password'
HOST = 'pr.oxylabs.io'
PORT = 7777
COUNTRY = 'US'
options = webdriver.ChromeOptions()
proxy_ext = chrome_proxy(USERNAME, PASSWORD, HOST, PORT, COUNTRY)
options.add_extension(proxy_ext)
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
try:
    driver.get('https://ip.oxylabs.io/')
    time.sleep(5)
finally:
    driver.close()

import time
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
from proxies import chrome_proxy
USERNAME = 'your_username'
PASSWORD = 'your_password'
HOST = 'pr.oxylabs.io'
PORT = 7777
COUNTRY = 'US'
options = webdriver.ChromeOptions()
proxy_ext = chrome_proxy(USERNAME, PASSWORD, HOST, PORT, COUNTRY)
options.add_extension(proxy_ext)
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
try:
    driver.get('https://ip.oxylabs.io/')
    time.sleep(5)
finally:
    driver.close()

import time
from selenium import webdriver
# A package to have a chromedriver always up-to-date.
from webdriver_manager.chrome import ChromeDriverManager
from proxies import chrome_proxy

USERNAME = "your_username"
PASSWORD = "your_password"
HOST = "pr.oxylabs.io"
PORT = 7777
# Specify country code if you want proxies from a single country, e.g. `US`.
# Otherwise - set the variable to `None`.
COUNTRY = "US"

options = webdriver.ChromeOptions()
proxy_ext = chrome_proxy(USERNAME, PASSWORD, HOST, PORT, COUNTRY)
options.add_extension(proxy_ext)
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)

try:
    driver.get("https://ip.oxylabs.io/")
    time.sleep(5)
finally:
    driver.close()
