Update app.py
Browse files
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, "
|
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 |
|