I.pressEnter

Press theEnter key on the element in focus.

This is same as using the command I.press("Enter").

Note:

This needs to be used with other commands to select an element on the page to focus on first, such as I.click or I.fill.

Usage

I.pressEnter()