Created
July 11, 2015 15:29
-
-
Save angelovstanton/0c5585fd583bdd16676f to your computer and use it in GitHub Desktop.
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
SelectElement selectElement = new SelectElement(driver.FindElement(By.XPath("/html/body/select"))); | |
selectElement.SelectByText("Planet"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment