Welcome! Share code as fast as possible.

from seleniumwire import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service

# Login credentials for Luna proxy
username = 'user-scrapesmart'
password = 'scrapesmart'

options = {
    'proxy': {
        'http': f'http://{username}:{password}@pr.lunaproxy.com:12233',
        'https': f'http://{username}:{password}@pr.lunaproxy.com:12233',
        'no_proxy': 'localhost,127.0.0.1'  # Addresses that should not be proxied
    } 
}

# Specify the path to the Chrome WebDriver
driver_path = '/usr/local/bin/chromedriver'

# Create a new instance of the Chrome WebDriver using the Service object
service = Service(executable_path=driver_path)
driver = webdriver.Chrome(service=service, seleniumwire_options=options)

driver.get('https://www.google.com')