jiseki commited on
Commit
7c8da79
·
verified ·
1 Parent(s): 2079652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def take_screenshot(url):
12
 
13
  try:
14
  wd = webdriver.Chrome(options=options)
15
- wd.set_window_size(1080, 720) # Adjust the window size here
16
  wd.get(url)
17
  wd.implicitly_wait(30)
18
  screenshot = wd.get_screenshot_as_png()
 
12
 
13
  try:
14
  wd = webdriver.Chrome(options=options)
15
+ wd.set_window_size(1345, 846) # Adjust the window size here
16
  wd.get(url)
17
  wd.implicitly_wait(30)
18
  screenshot = wd.get_screenshot_as_png()