Omnibus commited on
Commit
af6cb01
1 Parent(s): 8021f6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -128,10 +128,10 @@ def run_script(url: str, height: int, width: int, check_b,check_h,wait_time):
128
  yield Image.open(f'{uid}-tmp.png'), '<center>Finished loading. If loading is incomplete, restart with longer wait time',out_box,out
129
 
130
 
131
- main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
132
- head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
133
  obj = driver.find_element(By.CLASS_NAME, "main")
134
- messages = driver.find_elements(By.CLASS_NAME, "user-row")
135
  for i,ea in enumerate(check_b):
136
  try:
137
  ea = int(ea)
 
128
  yield Image.open(f'{uid}-tmp.png'), '<center>Finished loading. If loading is incomplete, restart with longer wait time',out_box,out
129
 
130
 
131
+ #main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
132
+ #head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
133
  obj = driver.find_element(By.CLASS_NAME, "main")
134
+ messages = driver.find_elements(By.CLASS_NAME, "panel")
135
  for i,ea in enumerate(check_b):
136
  try:
137
  ea = int(ea)