Skip to content

Commit

Permalink
chore: add log to leave it in the system log
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Sep 21, 2023
1 parent 224cfbb commit e8ad042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WebDriverAgentLib/Commands/FBSessionCommands.m
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ + (NSDictionary *)sessionInformation
+ (NSDictionary *)currentCapabilities
{
FBApplication *application = [FBSession activeSession].activeApplication;
// to log the info in the system
[FBLogger logFmt:@"Current active application bundle id is %@", application.bundleID];
return
@{
@"device": ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) ? @"ipad" : @"iphone",
Expand Down

0 comments on commit e8ad042

Please sign in to comment.