I have a list of free https proxies, taken from sslproxies.org. I am writing a script in Python where I want to switch IP addresses regularly between interactions with websites. I was testing how this works with Selenium Wire and noticed upon testing that my IP address does not actually change after applying a proxy. There are no errors. Below the script I use:
from seleniumwire import webdriver
PROXY = # this is taken from the free proxies, syntax is "http://IP:port"
seleniumwire_options = {'proxy': {'http': PROXY,'https': PROXY,},}
driver = webdriver.Chrome(seleniumwire_options = seleniumwire_options)
driver.get("http://whatismyipaddress.com/")
Unfortunately, the above code simply shows my own IP address when I go to the test website whatismyipaddress.com. Does anyone know how I can 'enable' the proxy? I have also tried doing it by declaring driver.proxy = {'http': PROXY, 'https': PROXY,}.
Happy to hear any suggestions, thanks!









