You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, Since it has been quite long that I have wrote this code, you might have to figure it out by yourself. But most likely it seems that since the website has changed a lot, the automation properties might have changed, like the css attributes, button locations, etc, and that is why it's timing out as it is not able to find the items, let me know if you find anything, would appreciate it if you could build up on this.
Thanks
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:
The text was updated successfully, but these errors were encountered: