Last active
February 11, 2021 15:01
-
-
Save angelovstanton/edd9ab5837c4d47ec0eb 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