Posts Tagged ‘popup’

Articles

Accepting SSL popups in web mobile testing with Appium

In Mobile automation on October 13, 2014 by swtestingforyou Tagged: , , , , ,

It’s been ages since my last post but as I returned from maternity leave and got back to test automation with Selenium on desktop and Appium on mobile here is my first post….

Today I came across very annoying issue when running my appium tests in mobile browser – SSL popup (Cannot verify Server Identity) which doesn’t allow to proceed with the test step.

Screen Shot 2014-10-13 at 4.13.32 PM

To resolve it, all you need to do is add capability to the Appium driver:

capabilities.setCapability(“autoAcceptAlerts”, “true”);

This will accept SSL certificate automatically and you test can proceed to the next step.

Enjoy!