Created
June 29, 2015 07:35
-
-
Save balkian/2a64d7564414f1949ec6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.support.ui import Select | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.support.ui import WebDriverWait | |
home = 'https://ifttt.com/recipes'; | |
driver = webdriver.Firefox() | |
#driver.set_window_size(1024, 768) | |
driver.get(home) | |
wait = WebDriverWait(driver, 10) | |
for i in xrange(50): | |
element = wait.until(EC.element_to_be_clickable((By.CLASS_NAME,'load_more_btn'))) | |
element.click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment