Hey All,
I am using appium selendroid mode to test our android app, and want to use the new pressKeyCode(int key) method…
but turns out it is not working. Is it because it is selendroid mode, so it is not working? is there any other alternative way to do the same?
error info:
- org.openqa.selenium.WebDriverException: ERROR running Appium command: req.device.pressKeyCode is not a function
according to release note in version 3.2.0
- Replace sendKeyEvent() method in android with pressKeyCode(int key) and added: pressKeyCode(int key, Integer metastate), longPressKeyCode(int key), longPressKeyCode(int key, Integer metastate)