Skip to content

Commit 201d762

Browse files
committed
Update logging level for "requests" and "urllib3"
1 parent 3cedb5a commit 201d762

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def test_anything(self):
5454
from seleniumbase.fixtures import page_actions
5555
from seleniumbase.fixtures import page_utils
5656
from seleniumbase.fixtures import xpath_to_css
57+
logging.getLogger("requests").setLevel(logging.ERROR)
58+
logging.getLogger("urllib3").setLevel(logging.ERROR)
5759
urllib3.disable_warnings()
5860
ENI_Exception = selenium_exceptions.ElementNotInteractableException
5961

0 commit comments

Comments
 (0)