How to press Home/Key Button with Appium on iOS Real Device

I’m using Appium 1.6.3 with iSO real devices. I need press Home/Key button.
I tried to use driver.backgroundApp(10) but this method blocks any actions on example 10 seconds, then app returns on top.

1 Like

Hi, did you ever find a solution to this? I am having the same issue. Thanks!

If you just want to go to background:


Its not possible to touch Home button on iOS real device (well, you can use the assistive touch icon to do it, but it doesn’t appear on inspector, so you need to have it on fix coordinates - just not a good way)

1 Like