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(
302
302
return self ._remote (remote_url , options = options )
303
303
if not executable_path :
304
304
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 )
306
307
return webdriver .Edge (
307
308
options = options ,
308
309
service = service ,
@@ -323,7 +324,8 @@ def create_safari(
323
324
return self ._remote (remote_url , options = options )
324
325
if not executable_path :
325
326
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 )
327
329
return webdriver .Safari (options = options , service = service )
328
330
329
331
def _remote (self , remote_url , options ):
You can’t perform that action at this time.
0 commit comments