How to handle the App update pop up , when it pops up when the app is opened. i tried driver.switchto(), but it did not work. can some one pls share some info? Thanks

How to handle the ‘App update pop up’ , when it pops up when the app is opened. i tried driver.switchto(), but it did not work. can some one pls share some info? Thanks.

You can directly click pop up elements . there is no need to switch in case of native apps

In case you are trying to interact with native app alert, you do not need to switch to alert.
Just find the element on the alert as you find other elements and perform action.
e.g. to click on OK button of alert
driver.findElement(By.id(“android:id/ok_button”)).click();This workes

Any Solution for this issues?

I too face the same issue. Cannot tap on alert pop up buttons.