this can be changed to self.wait_for_condition(lambda m: m.find_element(*self._focus_ring).get_attribute('data-state') is None)