Skip to content

Commit

Permalink
Addressing DeprecationWarning: use service_log_path instead of log_path
Browse files Browse the repository at this point in the history
  driver = webdriver.Firefox(log_path = "/tmp/geckodriver.log")
  • Loading branch information
adelton committed Dec 9, 2023
1 parent 83a8d6b commit 3b261cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test-kerberos.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

with Xvfb() as xvfb:

driver = webdriver.Firefox(log_path = "/tmp/geckodriver.log")
driver = webdriver.Firefox(service_log_path = "/tmp/geckodriver.log")

driver.get("http://localhost")
print(driver.title)
Expand Down
2 changes: 1 addition & 1 deletion src/test-openidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

with Xvfb() as xvfb:

driver = webdriver.Firefox(log_path = "/tmp/geckodriver.log")
driver = webdriver.Firefox(service_log_path = "/tmp/geckodriver.log")

driver.get("https://www.example.test/")
title = driver.find_element_by_xpath("//h1/a")
Expand Down
2 changes: 1 addition & 1 deletion src/test-saml.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

with Xvfb() as xvfb:

driver = webdriver.Firefox(log_path = "/tmp/geckodriver.log")
driver = webdriver.Firefox(service_log_path = "/tmp/geckodriver.log")

driver.get("https://www.example.test/")
title = driver.find_element_by_xpath("//h1/a")
Expand Down

0 comments on commit 3b261cd

Please sign in to comment.