mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.89k stars 281 forks source link

[Feature Request] Possibility to run ADB commands / possibility to run shell commands #1682

Open aivanovski opened 9 months ago

aivanovski commented 9 months ago

During or before the test, It will be cool to make some manipulations with application state or device state via adb or shell commands.

Scenario: Test data could be sent to the application via adb shell am broadcast ... command before some test

kaanx022 commented 9 months ago

+1 for the shell commands and preferably adb executions.... GPS location setting via adb was the most important bit, which they imported into maestro, but there are many uses of adb that are required for tests. Like managing certificates before tests, among many other usecases. Adb and shell executions def need to be on roadmap