Omnibus commited on
Commit
c7d7690
·
verified ·
1 Parent(s): 252eac8

Update screenshot.py

Browse files
Files changed (1) hide show
  1. screenshot.py +1 -1
screenshot.py CHANGED
@@ -29,7 +29,7 @@ def create_ss(graph,width=4000,height=8000):
29
  html=driver.page_source
30
  print(html)
31
  driver.implicitly_wait(int(wait_time*30))
32
- driver.set_window_size(int(width), int(height))
33
  obj = driver.find_element(By.ID, "chart")
34
  screenshot = obj.screenshot(f'{uid}-tmp.png')
35
  return(f'{uid}-tmp.png')
 
29
  html=driver.page_source
30
  print(html)
31
  driver.implicitly_wait(int(wait_time*30))
32
+ #driver.set_window_size(int(width), int(height))
33
  obj = driver.find_element(By.ID, "chart")
34
  screenshot = obj.screenshot(f'{uid}-tmp.png')
35
  return(f'{uid}-tmp.png')