Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

selenium get element parent

//label[contains(., 'labelName')]/parent::*//input[@value='elementToSelect'] 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selenium #element #parent
ADD COMMENT
Topic
Name
3+4 =