How to click home button in iOS simulator?

  1. I want to click home button in iOS Simulator.
  2. I just want to know whether it is possible to do click home button using IOS keycode event.

IOS keycode event’s does not contain event to press HOME button

I tried this solution it didn’t worked. It uses apple script to press home button. If it worked you can use any pressKeyevent.

1 Like