mgokg commited on
Commit
eb92f75
·
verified ·
1 Parent(s): ac3380c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ def take_screenshot(url):
17
  #element=wd.find_element(By.TAG_NAME, "body")
18
  #button_send = driver.find_element(By.ID, "L2AGLb").click()
19
  element=wd.find_element(By.TAG_NAME, "body")
 
 
20
  return element
21
 
22
  iface = gr.Interface(
 
17
  #element=wd.find_element(By.TAG_NAME, "body")
18
  #button_send = driver.find_element(By.ID, "L2AGLb").click()
19
  element=wd.find_element(By.TAG_NAME, "body")
20
+ body_html = body_element.get_attribute("outerHTML")
21
+ return body_html
22
  return element
23
 
24
  iface = gr.Interface(