Ask Your Question

Revision history [back]

In C#, you can use the following code to press the enter key with Appium:

driver.PressKeyCode(AndroidKeyCode.Enter);

or

driver.PressKeyCode(13);

Both of these methods achieve the same result of pressing the enter key.