File tree Expand file tree Collapse file tree 2 files changed +1
-34
lines changed
Built_In_Automation/Mobile/CrossPlatform/Appium Expand file tree Collapse file tree 2 files changed +1
-34
lines changed Original file line number Diff line number Diff line change @@ -465,12 +465,10 @@ def remote_launch(data_set):
465465 for entry in data_set :
466466 key = entry [0 ].strip ()
467467 value = entry [2 ].strip ()
468- print (value )
469468 if key == "remote_url" :
470469 remote_url = value
471470 elif key == "desired_caps" :
472- import ast
473- desired_caps = ast .literal_eval (value )
471+ desired_caps = CommonUtil .parse_value_into_object (value )
474472
475473 if not remote_url :
476474 CommonUtil .ExecLog (sModuleInfo , "Remote URL not provided" , 3 )
@@ -506,7 +504,6 @@ def remote_launch(data_set):
506504
507505 time .sleep (5 )
508506
509-
510507 session_id = appium_driver .session_id
511508 device_name = desired_caps .get ('appium:deviceName' , 'Unknown Device' )
512509
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments