Skip to content

Commit

Permalink
chore: add log to leave it in the system log (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Sep 21, 2023
1 parent 3ec9628 commit 012af21
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 012af21

Please sign in to comment.