Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium get parent element python

input_el = driver.find_element_by_name('A')
td_p_input = input_el.find_element_by_xpath('..')
 
PREVIOUS NEXT
Tagged: #selenium #parent #element #python
ADD COMMENT
Topic
Name
1+5 =