File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/SeleniumLibrary/keywords/webdrivertools Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,8 @@ def create_edge(
302302 return self ._remote (remote_url , options = options )
303303 if not executable_path :
304304 executable_path = self ._get_executable_path (webdriver .edge .service .Service )
305- service = EdgeService (executable_path = executable_path , log_path = service_log_path )
305+ log_method = self ._get_log_method (EdgeService , service_log_path )
306+ service = EdgeService (executable_path = executable_path , ** log_method )
306307 return webdriver .Edge (
307308 options = options ,
308309 service = service ,
@@ -323,7 +324,8 @@ def create_safari(
323324 return self ._remote (remote_url , options = options )
324325 if not executable_path :
325326 executable_path = self ._get_executable_path (webdriver .Safari )
326- service = SafariService (executable_path = executable_path , log_path = service_log_path )
327+ log_method = self ._get_log_method (SafariService , service_log_path )
328+ service = SafariService (executable_path = executable_path , ** log_method )
327329 return webdriver .Safari (options = options , service = service )
328330
329331 def _remote (self , remote_url , options ):
You can’t perform that action at this time.
0 commit comments