Home > other >  Urgent urgent!!!!!! The selenium python after chrome set proxy IP can't access the page
Urgent urgent!!!!!! The selenium python after chrome set proxy IP can't access the page

Time:11-13


The code is as follows:
 
The from the selenium import webdriver

Opt=webdriver. ChromeOptions ()

The proxy='http://183.166.138.143:9999'

Opt. Add_argument (' -- proxy server='+ proxy)

Bro=webdriver. Chrome (options=opt)

Bro. Get (' http://httpbin.org/get ')


Bro. Quit ()

According to the following:


The great spirit show ~
  • Related