mgokg commited on
Commit
43dcd6b
·
verified ·
1 Parent(s): b60262a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def take_screenshot(url):
13
  wd = webdriver.Chrome(options=options)
14
  wd.get(url)
15
  wd.implicitly_wait(7)
16
- element=wd.find_element(By.TAG_NAME, "a")
17
 
18
  return element.text
19
 
 
13
  wd = webdriver.Chrome(options=options)
14
  wd.get(url)
15
  wd.implicitly_wait(7)
16
+ element=wd.find_element(By.TAG_NAME, "body")
17
 
18
  return element.text
19