proxy = f'{username}:{password}@{ip}:{port}'
options = {
'proxy': {
'socks5': f'socks5://{proxy}',
}
}
driver.get('https://httpbin.org/ip')
sleep(1000)
Current google-chrome version is 91.0.4472
Get LATEST driver version for 91.0.4472
Driver [C:\Users\User\.wdm\drivers\chromedriver\win32\91.0.4472.101\chromedriver.exe] found in cache
DevTools listening on ws://127.0.0.1:64103/devtools/browser/168241f9-ed18-4356-b4d5-7f3903e92580