Which Appium method is used to dismiss a pop-up in a mobile app?

  • driver.closeApp();
  • driver.dismiss();
  • driver.findElement(By.id("popupId")).click();
  • driver.hideKeyboard();
To dismiss a pop-up in a mobile app using Appium, you can use the driver.dismiss(); method. This is helpful when dealing with pop-ups or alerts that require dismissal.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *