mercredi 17 juillet 2019

How to execute emulator commands via appium

I want to execute emulator commands via appium for automated Android tests.

adb shell commands can be executed easily for example like this ->

driver.executeScript("mobile: shell", ImmutableMap.of("command", "dumpsys window windows | grep -E 'mCurrentFocus'"))

Is there any way to execute following command "adb emu network delay gprs"

Aucun commentaire:

Enregistrer un commentaire