Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit be677a7

Browse files
authored
Update deprecated log function (#20101)
* update deprecated log func * update another deprecated log func.
1 parent a68aa37 commit be677a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ class bcolors:
5858
try:
5959
if len(sys.argv) == 4:
6060
binary = FirefoxBinary(sys.argv[3])
61-
driver = webdriver.Firefox(fp, firefox_binary=binary, log_path=os.devnull)
61+
driver = webdriver.Firefox(fp, firefox_binary=binary, service_log_path=os.devnull)
6262
else:
63-
driver = webdriver.Firefox(fp, log_path=os.devnull)
63+
driver = webdriver.Firefox(fp, service_log_path=os.devnull)
6464
except WebDriverException as e:
6565
error = e.__str__()
6666

0 commit comments

Comments
 (0)