pressHome method
Presses the home button.
See also:
-
developer.android.com/reference/androidx/test/uiautomator/UiDevice#presshome, which is used on Android
-
developer.apple.com/documentation/xctest/xcuidevice/button/home, which is used on iOS
Implementation
Future<void> pressHome() async {
await _wrapRequest('pressHome', _client.pressHome);
}