Automating the Home button press via Selenium WebDriver

I need to automate the action of user pressing the home button. I'm using the selenium webdriver and appium server for this process. Till now I have tried the following methods but none of them take me to the device home page:


1. SendKeys

2. Robot

3. Apple Script

4. runAppInBackground

5. closeApp



Any ideas as to what else I can implement?

any ideas have appeared? I have a similar problem - I need to minimize the application, go back to my home screen

'Home screen' in your app and 'home button' results on a device are not the same thing, so I doubt your problem is similar.

Automating the Home button press via Selenium WebDriver
 
 
Q