<div class="tt-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none;">
<div class="tt-dataset tt-dataset-slips">
<div id="t5" class="tt-suggestion tt-selectable">
<div id="t5013" class="tt-suggestion tt-selectable">
<div id="t5007" class="tt-suggestion tt-selectable">
<div id="t5004" class="tt-suggestion tt-selectable">
<div id="t5006" class="tt-suggestion tt-selectable">
<div id="t5008" class="tt-suggestion tt-selectable">
</div>
</div>
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at https://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.
driver.get("https://twitter.github.io/typeahead.js/examples/");driver.findElement(By.cssSelector("#the-basics .typeahead.tt-input")).click();driver.findElement(By.cssSelector("#the-basics input.tt-input")).sendKeys("Ca");driver.findElement(By.cssSelector("#the-basics div.tt-menu .tt-suggestion:nth-of-type(1)")).click();WebElement we = driver.findElement(By.cssSelector("#the-basics input.tt-input"));assertEquals("California", we.getAttribute("value"));