have capabilities to auto accept or dismiss the alerts, you can use these capabilities to complete your , as per your requirements:

autoAcceptAlerts = true

capabilities.SetCapability("autoAcceptAlerts", true);

or

autoDismissAlerts = true

capabilities.SetCapability("autoDismissAlerts", true);

Furthermore, some of the older versions of Appium haven’t worked with this solution, so you might want to try a small workaround with this:

driver.SwitchTo().Alert().Accept();

Note : If Auto accept/dismiss capabilities used, it will accept/dismiss all the alerts of the application automatically.



Source link https://sqa.stackexchange.com/questions/10304/can-appium--the-in---flow-on-

LEAVE A REPLY

Please enter your comment!
Please enter your name here