Update app.py
Browse files
app.py
CHANGED
|
@@ -15,8 +15,8 @@ def selenium(prompt):
|
|
| 15 |
try:
|
| 16 |
url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
|
| 17 |
wd.get(url)
|
| 18 |
-
wd.implicitly_wait(
|
| 19 |
-
message = driver.find_element(By.
|
| 20 |
|
| 21 |
return message.text
|
| 22 |
|
|
|
|
| 15 |
try:
|
| 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.CLASS_NAME, "exp0")
|
| 20 |
|
| 21 |
return message.text
|
| 22 |
|