From 9925af44ec5fbfb66e6f034dfd93a6c25de48661 Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Tue, 31 Oct 2023 20:24:12 +0100 Subject: [PATCH] feat: Add "elementDescription" property to audit issues containing the debug description of an element (#802) --- WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m | 1 + 1 file changed, 1 insertion(+) diff --git a/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m b/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m index 7c9ff9967..4faaed1ae 100644 --- a/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m +++ b/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m @@ -374,6 +374,7 @@ - (BOOL)fb_dismissKeyboardWithKeyNames:(nullable NSArray *)keyNames @"compactDescription": extractIssueProperty(issue, @"compactDescription") ?: @"", @"auditType": auditType, @"element": [extractIssueProperty(issue, @"element") description] ?: @"", + @"elementDescription": [extractIssueProperty(issue, @"element") debugDescription] ?: @"", }]; return YES; };