How to click Enter after entering some text

Hello,
In iOS you can normally access to the id of the “enter” button just like this:

Check if you have and id, else you can ask the developers to add it for you (that’s what I did)

        let button = await $(selector);
            await button.click();

It’s javascript but I think it’s not that different from python.

Or try this: driver.execute(‘mobile: performEditorAction’, { ‘action’: ‘Done’ });