We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb413e commit 58ebe8eCopy full SHA for 58ebe8e
WebDriverAgentLib/Commands/FBCustomCommands.m
@@ -551,7 +551,7 @@ + (NSString *)timeZone
551
+ (id<FBResponsePayload>)handleKeyboardInput:(FBRouteRequest *)request
552
{
553
FBElementCache *elementCache = request.session.elementCache;
554
- BOOL hasElement = nil != request.parameters[@"uuid"];
+ BOOL hasElement = ![request.parameters[@"uuid"] isEqual:@"0"];
555
XCUIElement *destination = hasElement
556
? [elementCache elementForUUID:(NSString *)request.parameters[@"uuid"]]
557
: request.session.activeApplication;
0 commit comments