Skip to content

Commit c24cf6d

Browse files
committed
missing -- for phantomjs service_args
1 parent de23cf5 commit c24cf6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/phantomjs/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self, executable_path, port=0, service_args=None, log_path=None):
4343
log_path = "ghostdriver.log"
4444
if not self._args_contain("--cookies-file="):
4545
self._cookie_temp_file = tempfile.mkstemp()[1]
46-
self.service_args.append("cookies-file=" + self._cookie_temp_file)
46+
self.service_args.append("--cookies-file=" + self._cookie_temp_file)
4747
else:
4848
self._cookie_temp_file = None
4949

0 commit comments

Comments
 (0)