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 1919import shutil
2020import sys
2121import tarfile
22+ import urllib3
2223import zipfile
2324from seleniumbase import drivers # webdriver storage folder for SeleniumBase
25+ urllib3 .disable_warnings ()
2426DRIVER_DIR = os .path .dirname (os .path .realpath (drivers .__file__ ))
2527
2628
Original file line number Diff line number Diff line change 44import sys
55import threading
66import time
7+ import urllib3
78import warnings
89from selenium import webdriver
910from selenium .common .exceptions import WebDriverException
1718from seleniumbase .fixtures import page_utils
1819from seleniumbase import drivers # webdriver storage folder for SeleniumBase
1920from seleniumbase import extensions # browser extensions storage folder
21+ urllib3 .disable_warnings ()
2022DRIVER_DIR = os .path .dirname (os .path .realpath (drivers .__file__ ))
2123EXTENSIONS_DIR = os .path .dirname (os .path .realpath (extensions .__file__ ))
2224DISABLE_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):
3030import re
3131import sys
3232import time
33+ import urllib3
3334import unittest
3435import uuid
3536from selenium .common .exceptions import (StaleElementReferenceException ,
@@ -53,6 +54,7 @@ def test_anything(self):
5354from seleniumbase .fixtures import page_actions
5455from seleniumbase .fixtures import page_utils
5556from seleniumbase .fixtures import xpath_to_css
57+ urllib3 .disable_warnings ()
5658ENI_Exception = selenium_exceptions .ElementNotInteractableException
5759
5860
You can’t perform that action at this time.
0 commit comments