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

Is it possible to go to the home screen in Real device using ADB command?

Hi Joe,

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)