Omnibus commited on
Commit
0e65105
·
verified ·
1 Parent(s): 64e42c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
64
  print (page.get_attribute('theme'))
65
 
66
  main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
67
- driver.execute_script("arguments[0].theme='gab-black';",main_head)
68
 
69
  head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
70
 
 
64
  print (page.get_attribute('theme'))
65
 
66
  main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
67
+ driver.execute_script("arguments[0].style.background='#474747';",main_head)
68
 
69
  head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
70