Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium proxy python chrome

proxyList = [
    '192.168.1.1:8080',
    '192.168.1.4:8080',
    '192.168.1.9:8080'
]
chromeOptions = webdriver.ChromeOptions()
chromeOptions.add_argument('--proxy-server={}'.format(random.choice(proxyList)))
driver = webdriver.Chrome(executable_path="chromedriver.exe", chrome_options=chromeOptions)
Source by etuannv.com #
 
PREVIOUS NEXT
Tagged: #selenium #proxy #python #chrome
ADD COMMENT
Topic
Name
4+9 =