Skip to content

Timeour exception #4

@fabioaraujopt

Description

@fabioaraujopt

Hello, do you have any ideia why is it happening?
Thanks


TimeoutException Traceback (most recent call last)
in ()
267
268 date=datetime.strptime("2019-04-17","%Y-%m-%d")
--> 269 df=scrape_data(date,"New York","Russia","Moscow")
270 print (task_3_dbscan(df))
271 task_3_IQR(df)

in scrape_data(start_date, from_place, to_place, city_name)
151 driver.get('https://www.google.com/flights/explore/')
152 wait = WebDriverWait(driver, 20)
--> 153 wait.until(EC.visibility_of_element_located((By.CSS_SELECTOR, "div.LJTSM3-k-b")))
154 from_input = driver.find_element_by_xpath('//*[@id="root"]/div[3]/div[3]/div/div[2]/div/div')
155 from_input.click()

/usr/local/lib/python3.6/dist-packages/selenium/webdriver/support/wait.py in until(self, method, message)
78 if time.time() > end_time:
79 break
---> 80 raise TimeoutException(message, screen, stacktrace)
81
82 def until_not(self, method, message=''):

TimeoutException: Message:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions