Safari Launcher – Running Web Test on Real IOS Device

0 Comments

Appium Tutorial: Safari Launcher – Running Web Test on Real IOS Device

As Apple has his own monopoly and does not allow Appium to test the internal IOS Apps and the browsers directly. There’s a SafariLauncher app created by the community which helps in bringing up the Safari browser and perform Webapp testing using Appium. You also need to make sure before you start testing on Real device just try deploying the app through Xcode and if everything works fine then start your test execution.

The App source can be downloaded from here.

These are the some of the steps you need to follow in order to make the SafariLauncher app works fine:

Pre-requisite:

  • Make sure Iphone / Ipad is connected to the MAC
  • Xcode should be installed
  • Appium server should be up to date. I am using 1.3.4 at the moment.

Install ios-webkit-debug-proxy

brew install ios-webkit-debug-proxy

Connect proxy to the device:

ios_webkit_debug_proxy -c c84c5fd8fb6cd5e84247xx8c511b7cf8d9bef:27753 -d (sometimes you need to try re-installing the webkit if the execution is not successfull)

Make sure on your device settings you have enabled Safari web inspector as well.

Comments

WRITE A COMMENT