Simulates pressing Return in the element.
- macOS 10.10+
true if the action was successfully triggered; otherwise,
false. This method does not indicate the success or failure of the action, just the fact that the action was successfully triggered.
Use this method on elements that take keyboard input, such as a text field.