There was an error while loading. Please reload this page.
1 parent 0b2eee8 commit 5f67a3cCopy full SHA for 5f67a3c
1 file changed
py/test/selenium/webdriver/chrome/proxy_tests.py
@@ -13,10 +13,12 @@ def test_bad_proxy_doesnt_interfere():
13
14
options.ignore_local_proxy_environment_variables()
15
16
- chrome_kwargs = {'options': options, 'keep_alive': False}
+ chrome_kwargs = {'options': options}
17
driver = webdriver.Chrome(**chrome_kwargs)
18
19
assert hasattr(driver, 'command_executor')
20
assert hasattr(driver.command_executor, '_proxy_url')
21
- assert type(driver.command_executor) == urllib3.PoolManager
+ assert type(driver.command_executor._conn) == urllib3.PoolManager
22
+ os.environ.pop('https_proxy')
23
+ os.environ.pop('http_proxy')
24
driver.quit()
0 commit comments