Omnibus commited on
Commit
de48c0f
·
verified ·
1 Parent(s): d46d2aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
66
  #driver.get(driver.getCurrentUrl())
67
  #driver.navigate().refresh()
68
  main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
69
- driver.execute_script("arguments[0].style='background:#474747;color:#055550!important;';",main_head)
70
 
71
  head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
72
 
 
66
  #driver.get(driver.getCurrentUrl())
67
  #driver.navigate().refresh()
68
  main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
69
+ #driver.execute_script("arguments[0].style='background:#474747;color:#055550!important;';",main_head)
70
 
71
  head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
72