Implementation of getNativeViews on iOS #1403
Replies: 3 comments
-
Hi 👋🏻 I agree that
Honestly: at this point, I don't remember anymore :) It was implemented almost a year ago on Android as a quick workaround for #499. But it's definitely useful. Using
That's great! Here's how it's done on Android, fwiw.
It'd be cool to have a test for it, but we can take care of it after you get it to work.
Thank you so very much for kind words :) It's really motivating! |
Beta Was this translation helpful? Give feedback.
-
The servers and clients we use for communication are generated from this protobuf file using this script. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I noticed that NativeAutomator.getNativeViews is currently not implemented on iOS and throws
getNativeViews() is not supported on iOS
.My project could really make use of that method in tests and I'd be happy to file a PR, so I wanted to gather some feedback first. Have you encountered any issues with getting a list of native views on iOS? I noticed a similar thing is already done in
Automator.swift
, for example to tap on the view, so (in theory) it should be possible:patrol/packages/patrol/ios/Classes/AutomatorServer/Automator.swift
Lines 60 to 61 in ccd8217
Is there anything else that should be considered to add this functionality?
Btw, I've been using patrol for a while now and I'm very impressed by this framework, so kudos to the whole team!
Beta Was this translation helpful? Give feedback.
All reactions