How to Change contexts
Most of the time when you are testing an app, you will find that there is a specific page in app which is a Webview and your normal code is not working. So in those situations we need to change the application context to "WEBVIEW" or "NATIVE" accordingly. Below is a code snippet will do the same and change the context to Webview.
A similar code can be used with Native as parameter to change the context to Native app.
Last updated
Was this helpful?