@@ -1311,6 +1311,13 @@ Sends native keyboard events to the element matching the provided :doc:`selector
this.click('form.contact input[type="submit"]');
});
Note that ``sendKeys()`` by default will remove the focus on text input fields, which will typically close autocomplete widgets. If you want to maintain focus, use the ``keepFocus`` option. For example, if using jQuery-UI, you can click on the first autocomplete suggestion using::