Is there a way to get a webDriverWait to wait for one of a number of elements to appear and to act accordingly based on which element appears?
webDriverWait
At the moment
Something like that:
def wait_for_one(self, xpath0, xpath1): self.waitForElement("%s|%s" % (xpath0, xpath1)) return int(self.selenium.is_element_present(xpath1))