Skip to content

Commit

Permalink
Adding logging to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed May 16, 2024
1 parent 86096d3 commit 7786ac6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/python/tests/drivers/test_remote_webdriver.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import os

from selenium import webdriver
Expand All @@ -7,6 +8,8 @@


def test_start_remote(server):
logger = logging.getLogger('selenium')
logger.setLevel(logging.DEBUG)
options = webdriver.ChromeOptions()
driver = webdriver.Remote(command_executor=server, options=options)

Expand All @@ -15,6 +18,8 @@ def test_start_remote(server):


def test_uploads(server):
logger = logging.getLogger('selenium')
logger.setLevel(logging.DEBUG)
options = webdriver.ChromeOptions()
driver = webdriver.Remote(command_executor=server, options=options)

Expand All @@ -34,6 +39,8 @@ def test_uploads(server):


def test_downloads(server, temp_dir):
logger = logging.getLogger('selenium')
logger.setLevel(logging.DEBUG)
options = webdriver.ChromeOptions()
options.enable_downloads = True
driver = webdriver.Remote(command_executor=server, options=options)
Expand Down

0 comments on commit 7786ac6

Please sign in to comment.