File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
WebDriverAgentLib/Commands Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -410,6 +410,10 @@ + (NSString *)buildTimestamp
410
410
];
411
411
}
412
412
413
+ /* *
414
+ Return current session information.
415
+ This response does not have any active application information.
416
+ */
413
417
+ (NSDictionary *)sessionInformation
414
418
{
415
419
return
@@ -438,15 +442,10 @@ + (NSString *)deviceNameByUserInterfaceIdiom:(UIUserInterfaceIdiom) userInterfac
438
442
439
443
+ (NSDictionary *)currentCapabilities
440
444
{
441
- FBApplication *application = [FBSession activeSession ].activeApplication ;
442
- // to log the info in the system
443
- [FBLogger logFmt: @" Current active application bundle id is %@ " , application.bundleID];
444
445
return
445
446
@{
446
447
@" device" : [self .class deviceNameByUserInterfaceIdiom: [UIDevice currentDevice ].userInterfaceIdiom],
447
- @" sdkVersion" : [[UIDevice currentDevice ] systemVersion ],
448
- @" browserName" : application.label ?: [NSNull null ],
449
- @" CFBundleIdentifier" : application.bundleID ?: [NSNull null ],
448
+ @" sdkVersion" : [[UIDevice currentDevice ] systemVersion ]
450
449
};
451
450
}
452
451
You can’t perform that action at this time.
0 commit comments