DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
selenium get parent element
element = driver.find_element(By.ID, "id1") parent_element = element.find_element(By.XPATH, "..")
PREVIOUS
NEXT
Tagged:
#selenium
#parent
#element
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit