Answer the question
In order to leave comments, you need to log in
How to run multiple chrome browsers with different silenium+python proxies?
I am new to working with selenium
. It was no problem to make a separate multithread and a separate proxy. But here's how to make each browser use a different proxy when starting a multithread
Answer the question
In order to leave comments, you need to log in
First response in a search engine
from selenium import webdriver
PROXY = "23.23.23.23:3128" # IP:PORT or HOST:PORT
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--proxy-server=%s' % PROXY)
chrome = webdriver.Chrome(options=chrome_options)
chrome.get("http://whatismyipaddress.com")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question