Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Conversation

rafe-g
Copy link
Contributor

@rafe-g rafe-g commented Mar 29, 2016

No description provided.

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

@rafe-g
Copy link
Contributor Author

rafe-g commented Mar 29, 2016

@marekcirkos

@ericwengelking
Copy link

Our hope is to get something like MobileBy.iOSNSPredicate() added to Appium once it supports XCUITest. I've opened an issue here appium/appium-xcuitest-driver#27

FYI @Rafael-Chavez


#pragma mark - Search by Predicate String
+ (NSArray *)descendantsOfElement:(XCUIElement *)element withPredicateString:(NSString *)predicateString {
XCUIElementQuery *query = [[element descendantsMatchingType:XCUIElementTypeAny] matchingPredicate:[NSPredicate predicateWithFormat:predicateString]];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it will not work with UIAutomation class names? Which we should remove anyway ;).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct

@marekcirkos
Copy link
Contributor

@Rafael-Chavez Thanks for PR. Looks good to me. Please sign CLA & we can shit it :)

@rafe-g
Copy link
Contributor Author

rafe-g commented Mar 29, 2016

@marekcirkos Already signed the CLA.

@marekcirkos
Copy link
Contributor

@facebook-github-bot shipit

@facebook-github-bot
Copy link

Thanks for importing. If you are an FB employee go to Phabricator to review.

@ghost ghost closed this in f592a4f Mar 30, 2016
imurchie referenced this pull request in appium/WebDriverAgent Nov 16, 2017
Try to de-flake safari tests in Travis
dpgraham pushed a commit to dpgraham/appium-ios that referenced this pull request Sep 9, 2020
Summary: Closes facebookarchive/WebDriverAgent#124

Differential Revision: D3114535

Pulled By: marekcirkos

fb-gh-sync-id: 5fc0b04a0b971e099c7978e553903d319dc21ba4
fbshipit-source-id: 5fc0b04a0b971e099c7978e553903d319dc21ba4
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants