How do I bypass the Chrome permission pop-ups while running App automation tests on LambdaTest?
Hi Tim,
You need to switch the context to the native app and then you can click on the notifications.
Syntax:
driver.context("NATIVE_APP");
driver.findElement(By.xpath(".//android.widget.Button[@text='Continue']")).click();
driver.findElement(By.id("com.android.permissioncontroller:id/permission_allow_button")).click();