fb_pixel

Proxy: Selenium + Python, Firefox

Development | Software Testing
Description
How can I redirect the traffic of Firefox launched by Selenium in Python to a proxy? I have used the solutions suggested on the web but they don't work.

profile = webdriver.FirefoxProfile() 
profile.set_preference("network.proxy.type", 1)
profile.set_preference("network.proxy.http", "54.213.66.208")
profile.set_preference("network.proxy.http_port", 80)
profile.update_preferences()
driver = webdriver.Firefox(profile)
Attachments
No attachments
Info
Description
See my E2E framework (paid).
on December 13th, 2019 (5:44 pm)
All coments
This job has not been commented yet.