mgokg commited on
Commit
45e6a72
·
verified ·
1 Parent(s): 10a9f56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,9 +16,9 @@ def selenium(prompt):
16
  url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
17
  wd.get(url)
18
  wd.implicitly_wait(10)
19
- message = driver.find_element(By.ID, "exp0")
20
 
21
- return message.text
22
 
23
 
24
 
 
16
  url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
17
  wd.get(url)
18
  wd.implicitly_wait(10)
19
+ element = driver.find_element(By.ID, "exp0")
20
 
21
+ return element.text
22
 
23
 
24