KeyEvent keyEvent = new KeyEvent();
androidDriver.pressKey(keyEvent.withKey(AndroidKey.PAGE_DOWN));
I’m not sure if the issue is with KeyEvent or AndroidKey but I’m not able to perform pressKey events with the latest Android 11.
Anyone else having this issue?