Hello Appium users,
My co-workers have set up an intern testing interface for testing a web application on various browsers. We also have a Hybrid App that hosts a webview (which in turn hosts the web app). Whenever I try to run tests through the intern infrastructure on the app, the context is always set to Native instead of Web View.
I am curious if anyone has any experience using Intern/DigDug and setting the context to WebView. I have done quite a bit of digging on Google to find someone in the same predicament (changing from native to webview context) but only found examples users who had full access to the Driver.
DigDug seems to be a tunnel to the Driver and obfuscates a lot of the interaction to it. This results in me seemingly not having direct access to the context of the driver, meaning I cannot switch context.
I will add that I have tested using some example code that DOESN’T use intern/digdug and gives me full access to the Driver. In this situation I can successfully interact with the app’s webview. The problem with this is I would have to re-write all of our tests for this different infrastructure, so switching would be a last resort for automation.
Any help or ideas would be greatly appreciates as I am quite stuck.
Let me know if any additional info is needed!
Thanks!