Skip to content

Commit bf10c23

Browse files
committed
py: make geckodriver append to non-existent log files
1 parent 0ea23d3 commit bf10c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/firefox/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(
4444
in the services' environment.
4545
"""
4646
if log_path:
47-
log_file = open(log_path, "w")
47+
log_file = open(log_path, "a+")
4848

4949
service.Service.__init__(
5050
self, executable_path, port=port, log_file=log_file, env=env)

0 commit comments

Comments
 (0)