How to go to the home screen in Real device using ADB command?

How do I go to the home screen in Real device using ADB command?

Hi Ana,

You can use the below code to go to the home screen of the real device directly at LambdaTest:

params = {"command":"keyevent", "keycode":3}
result = driver.execute_script("lambda-adb",params)