Can you add a way to access ancestor elements given a reference to a descendant? For example, I want to make a given a reference to a button element I'd like to traverse up until I find the Dialog element. I use Appium with FlaUI.WebDriver and most online suggestions say to use an xpath like "./.." to traverse ancestors but it doesn't work.