Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

How to find the immediate parent in xpath

By.xpath("//input[contains(@id,'custProglabel')]/..")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #find #parent #xpath
ADD COMMENT
Topic
Name
6+3 =