Omnibus commited on
Commit
8ad57cf
·
verified ·
1 Parent(s): 387ad31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
61
 
62
  driver.set_window_size(int(width), int(height))
63
  page = driver.find_element(By.TAG_NAME, "html")
64
- driver.execute_script(f"arguments[0].style={css_};",page)
65
  print (dir(page))
66
  #page.send_keys('theme','gab-black')
67
  dk=page.get_attribute('theme')
 
61
 
62
  driver.set_window_size(int(width), int(height))
63
  page = driver.find_element(By.TAG_NAME, "html")
64
+ driver.execute_script(f"arguments[0].style='{css_}';",page)
65
  print (dir(page))
66
  #page.send_keys('theme','gab-black')
67
  dk=page.get_attribute('theme')