Skip to content

Instantly share code, notes, and snippets.

@aaltat
aaltat / alert.py
Last active August 25, 2015 20:08
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
driver = webdriver.Chrome()
driver.get('http://www.w3schools.com/js/tryit.asp?filename=tryjs_prompt')
driver.switch_to_frame('iframeResult')