dryark / stf_ios_support

Central repo to connect and document components/repos needed for IOS stf support
Other
153 stars 65 forks source link

Question on idb #87

Closed letsautom8 closed 1 year ago

letsautom8 commented 3 years ago

Appreciate your efforts on ios support. Is there a plan to move away from webdriveragent to FB's idb in the future?

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

nanoscopic commented 3 years ago

Considering that WDA is deprecated and Facebook has moved on to idb, yes.

That said I have not had success running idb against real devices thus far. I have not tried now for several months though. They may have fixed it since I last tried.

It is somewhat important to move to idb in order to support virtual IOS devices. Facebook reversed engineered a lot of the internals of simulators and added custom stuff ( such as for streaming out video from simulators )

I am still working on things related to stf_ios_support for multiple groups now... so the work will be continuing despite TMobile dropping the project. It is just much more dependent on the investment of my free time now.

rounakcodes commented 3 years ago

User interface input works only on simulators with idb, not on real devices. So, we still need WDA.

nanoscopic commented 3 years ago

That is my experience with idb yes. I was not able to get input control to work against real devices.

As I have, though, said, for best simulator control and to be able to have simulator video, idb will be needed.

Also, WDA itself isn't necessarily needed to do what stf_ios_support does. Some stripped down variant could be created. The only crucial bits of WDA used by stf_ios_support are synthetic event creation, keyboard events, and home functionality. WDA includes many other things that aren't used and could be dropped to make it less complicated and more streamlined to the use case.

nanoscopic commented 1 year ago

idb is for simulators. This project does not support simulators. Now that this is being updated I will likely integrate some usage of go-ios and that is partly similar to what idb conceptually helps with.