Created
October 23, 2019 14:38
-
-
Save muditlambda/c8c515df3b3a09435a64f83f11c7c524 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
WebElement txt_label = driver.findElement(By.cssSelector("label[id='uname']")); | |
WebElement txt_label = driver.findElement(withTagName("input").toRightOf(txt_label)); | |
String txt_name = driver.findElement(withTagName("input").toLeftOf(By.id("some_button")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment