File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 19
19
import shutil
20
20
import sys
21
21
import tarfile
22
+ import urllib3
22
23
import zipfile
23
24
from seleniumbase import drivers # webdriver storage folder for SeleniumBase
25
+ urllib3 .disable_warnings ()
24
26
DRIVER_DIR = os .path .dirname (os .path .realpath (drivers .__file__ ))
25
27
26
28
Original file line number Diff line number Diff line change 4
4
import sys
5
5
import threading
6
6
import time
7
+ import urllib3
7
8
import warnings
8
9
from selenium import webdriver
9
10
from selenium .common .exceptions import WebDriverException
17
18
from seleniumbase .fixtures import page_utils
18
19
from seleniumbase import drivers # webdriver storage folder for SeleniumBase
19
20
from seleniumbase import extensions # browser extensions storage folder
21
+ urllib3 .disable_warnings ()
20
22
DRIVER_DIR = os .path .dirname (os .path .realpath (drivers .__file__ ))
21
23
EXTENSIONS_DIR = os .path .dirname (os .path .realpath (extensions .__file__ ))
22
24
DISABLE_CSP_ZIP_PATH = "%s/%s" % (EXTENSIONS_DIR , "disable_csp.zip" )
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def test_anything(self):
30
30
import re
31
31
import sys
32
32
import time
33
+ import urllib3
33
34
import unittest
34
35
import uuid
35
36
from selenium .common .exceptions import (StaleElementReferenceException ,
@@ -53,6 +54,7 @@ def test_anything(self):
53
54
from seleniumbase .fixtures import page_actions
54
55
from seleniumbase .fixtures import page_utils
55
56
from seleniumbase .fixtures import xpath_to_css
57
+ urllib3 .disable_warnings ()
56
58
ENI_Exception = selenium_exceptions .ElementNotInteractableException
57
59
58
60
You can’t perform that action at this time.
0 commit comments