diff --git a/WebDriverAgentLib/Commands/FBCustomCommands.m b/WebDriverAgentLib/Commands/FBCustomCommands.m index c9834f35b..6bc77fd21 100644 --- a/WebDriverAgentLib/Commands/FBCustomCommands.m +++ b/WebDriverAgentLib/Commands/FBCustomCommands.m @@ -210,7 +210,7 @@ + (NSDictionary *)appInfoWithApp:(XCUIApplication *)app return (nil == app) ? @{} : @{ @"pid": @(app.processID), @"bundleId": app.bundleID, - @"name": app.identifier, + @"state": @(app.state), @"processArguments": @{ @"args": app.launchArguments ?: @[], @"env": app.launchEnvironment ?: @{}