How to switch the context between methods?
Hi Brett,
To switch the context between methods, refer to the below capability:
driver.context("NATIVE_APP");
driver.findElement(By.xpath("//XCUIElementTypeButton[@name='SidebarButton']")).click();
driver.context("WEBVIEW")