Skip to content

Commit dca3ca0

Browse files
committed
here too
1 parent db5e0a3 commit dca3ca0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WebDriverAgentLib/Commands/FBElementCommands.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ + (NSArray *)routes
151151
{
152152
FBElementCache *elementCache = request.session.elementCache;
153153
XCUIElement *element = [elementCache elementForUUID:(NSString *)request.parameters[@"uuid"]];
154-
FBXCElementSnapshotWrapper *wrappedSnapshot = [FBXCElementSnapshotWrapper ensureWrapped:[element fb_takeSnapshot:NO]];
154+
FBXCElementSnapshotWrapper *wrappedSnapshot = [FBXCElementSnapshotWrapper ensureWrapped:[element fb_takeSnapshot:YES]];
155155
id text = FBFirstNonEmptyValue(wrappedSnapshot.wdValue, wrappedSnapshot.wdLabel);
156156
return FBResponseWithObject(text ?: @"");
157157
}

0 commit comments

Comments
 (0)