mgokg commited on
Commit
d5321f0
·
verified ·
1 Parent(s): dfde8f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -3,9 +3,9 @@ from selenium import webdriver
3
  from selenium.common.exceptions import WebDriverException
4
  from selenium.webdriver.common.by import By
5
  from gradio_client import Client
6
- from selenium.webdriver.support.wait import WebDriverWait
7
- from selenium.webdriver.support import expected_conditions as EC
8
- from selenium.webdriver.chrome.options import Options
9
 
10
 
11
  def selenium(prompt):
@@ -14,6 +14,8 @@ def selenium(prompt):
14
  wd = webdriver.Chrome(options=options)
15
  try:
16
  url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
 
 
17
  wd.get(url)
18
  wd.implicitly_wait(5)
19
  element = driver.find_element(By.TAG_NAME, "body")
 
3
  from selenium.common.exceptions import WebDriverException
4
  from selenium.webdriver.common.by import By
5
  from gradio_client import Client
6
+ #from selenium.webdriver.support.wait import WebDriverWait
7
+ #from selenium.webdriver.support import expected_conditions as EC
8
+ #from selenium.webdriver.chrome.options import Options
9
 
10
 
11
  def selenium(prompt):
 
14
  wd = webdriver.Chrome(options=options)
15
  try:
16
  url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
17
+ url = 'https://www.spiegel.de'
18
+ #<ol class="AmbQnf">
19
  wd.get(url)
20
  wd.implicitly_wait(5)
21
  element = driver.find_element(By.TAG_NAME, "body")