Skip to content

Commit 951c9bf

Browse files
committed
Only import proxy_list if needed
1 parent adc75e0 commit 951c9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import urllib3
66
import warnings
77
from selenium import webdriver
8-
from seleniumbase.config import proxy_list
98
from seleniumbase.config import settings
109
from seleniumbase.core import download_helper
1110
from seleniumbase.core import proxy_helper
@@ -614,6 +613,7 @@ def display_proxy_warning(proxy_string):
614613

615614

616615
def validate_proxy_string(proxy_string):
616+
from seleniumbase.config import proxy_list
617617
from seleniumbase.fixtures import page_utils
618618

619619
if proxy_string in proxy_list.PROXY_LIST.keys():

0 commit comments

Comments
 (0)