Skip to content

Instantly share code, notes, and snippets.

@els-pnw
Created January 16, 2012 18:38
Show Gist options
  • Save els-pnw/1622241 to your computer and use it in GitHub Desktop.
Save els-pnw/1622241 to your computer and use it in GitHub Desktop.
Troubleshooting explicit wait
save_button_locator = self.selenium.find_element(*self._new_system_save_locator)
ActionChains(self.selenium).move_to_element(save_button_locator).\
click().perform()
WebDriverWait(self.selenium, 20).until(lambda s: len(self.systems) > 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment