Hi All,
Currently, I have an app that works on both Android and iOS. For some reason, i.e. authentication, I need to switch between the mobile app and the web page.
The workflow is simple: Run the app -> Click a button that opens the web page on the mobile app -> Add some data and click a button on the web page -> Return to the mobile app -> Continue to use the mobile app.
The beginning of the test works, but when I move to the web page, it stops working.
The idea that I have in mind is to instantiate a main driver for the mobile app (uiautomator2/xcuitest) and a secondary driver for the web (safari/chromium/gecko). So, I will switch between the drivers depending on the platform.
These are my questions before I start to dirt my hands:
- Is it feasible? Before starting to make big changes to my application, I would like to know that at least it works.
- If point 1, yes: is it the best solution available? I didn’t find options online on this issue, and it is a little bit strange. I am not inventing the wheel, and I think it could be a common issue between developers.
I am using the following drivers@versions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]