Created
September 7, 2011 17:35
-
-
Save dbriones/1201208 to your computer and use it in GitHub Desktop.
NativeDriver driving a UISearchBar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// launches keyboard and list of results | |
driver.findElement(By.placeholder("Search")).click(); | |
// does nothing | |
driver.findElement(By.placeholder("Search")).sendKeys("flat panel lcd"); | |
// returns UISearchBar | |
driver.findElement(By.placeholder("Search")).getTagName(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment