options.add_argument(f'--proxy-server={proxy.split("@")[1]}')
options.add_argument(f'--proxy-auth={proxy.split("@")[0]}')
options.proxy = Proxy(proxy)
from seleniumwire import undetected_chromedriver as uc
wire_options = {
'proxy': {
'https': f'https://{login}:{password}@{ip}:{port}',
}
}
driver = uc.Chrome(seleniumwire_options=wire_options)