Skip to content

Commit f5d9f02

Browse files
ralphbeanAutomatedTester
authored andcommitted
Allow proxying of ssl requests with selenium.
1 parent 33009b4 commit f5d9f02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

browsermobproxy/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ def selenium_proxy(self):
3030
Returns a Selenium WebDriver Proxy class with details of the HTTP Proxy
3131
"""
3232
from selenium import webdriver
33-
return webdriver.Proxy({"httpProxy": self.proxy})
33+
return webdriver.Proxy({
34+
"httpProxy": self.proxy,
35+
"sslProxy": self.proxy,
36+
})
3437

3538
def webdriver_proxy(self):
3639
"""

0 commit comments

Comments
 (0)