I have a web page with a form and has a field that uses the jquery autocomplete function.

This is how the HTML renders after a user name returns 1 or more results.
However I cannot figure out how to make Selenium “click” a result.

Can I do a jQuery type of selector.
e.g.
$(".ul.ui-autocomplete li:first a")
Use XPath selector in Selenium:
not checked, might require some corrections.