Reputation: 1139
I am working with iOS
and appium
to control my application.
So i have this element
that i want to jump into its parent
:
elements = self.driver.find_elements_by_ios_predicate('bla bla')
This is what i have try:
parent = elements[0] .find_element_by_xpath('./..')
I also try this:
parent = elements[0] .find_element_by_xpath('/..')
And in both cases i cannot fine the parent.
Upvotes: 0
Views: 1072