SHARE
TWEET

Untitled

a guest May 26th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try:
  2.     self.fill_birth_date_field(birth_date)
  3. except ElementClickInterceptedException:
  4.     retries = 2
  5.     while True:
  6.         try:
  7.             self.fill_birth_date_field(birth_date)
  8.         except ElementClickInterceptedException:
  9.             if retries <= 0:
  10.                 raise
  11.         else:
  12.             break
  13.         retries -= 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top