SHARE
TWEET

Untitled

a guest Jul 17th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WebDriverWait(browser, 3).until(EC.alert_is_present(),
  2.                                'Timed out waiting for alert')
  3.  
  4. alert = browser.switch_to.alert
  5. alert.accept() [or alert.dismiss()]
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