Python Forum
Selenium Webdriver Python — ERR_NO_SUPPORTED_PROXIES
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selenium Webdriver Python — ERR_NO_SUPPORTED_PROXIES
#1
Hello everyone! I'm having an issue. When I run the code and the browser launches, the browser gives an error message saying "ERR_NO_SUPPORTED_PROXIES". Can anyone advise on what the issue might be? The proxy data is 100% correct. Thanks everyone.

options = webdriver.ChromeOptions()

chromedriver_path = r'C:\Users\Admin\Desktop\***\chromedriver.exe'
service = Service(executable_path=chromedriver_path)

# proxy
PROXY_HOST = 'fproxy.site'
PROXY_PORT = '1***0'
PROXY_USER = 'X****A'
PROXY_PASS = 'A*********L'
options.add_argument(f'--proxy-server=http://{PROXY_USER}:{PROXY_PASS}@{PROXY_HOST}:{PROXY_PORT}')

# fingerprint
fake = Faker()
fingerprint = fake.chrome()
options.add_argument(f'user-agent={fingerprint}')

# resolution
resolutions = [
(800, 600),
(1024, 768),
(1280, 800),
(1366, 768),
(1440, 900),
(1600, 900),
(1920, 1080)
]
width, height = random.choice(resolutions)
options.add_argument(f"window-size={width},{height}")

# Other
options.add_argument('--disable-notifications')
options.add_argument('--disable-popup-blocking')
options.add_argument('--disable-infobars')
options.add_argument('--disable-blink-features')
options.add_argument('--disable-blink-features=AutomationControlled')
options.add_experimental_option('excludeSwitches', ['enable-automation'])

# Start
driver = webdriver.Chrome(service=service, options=options)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Fixture not returning webdriver element Nik1811 1 242 Apr-15-2024, 04:39 PM
Last Post: Nik1811
  WebDriver' object has no attribute 'find_element_by_css_selector rickadams 3 5,998 Sep-19-2022, 06:11 PM
Last Post: Larz60+
  webdriver does not work wiki11 2 1,792 Dec-06-2021, 10:52 AM
Last Post: wiki11
  Multiple for loops selenium webdriver KRS 4 2,628 Mar-10-2020, 03:31 PM
Last Post: KRS

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020