iricardoxd commited on
Commit
7cb296d
·
verified ·
1 Parent(s): aa3fc8c

Update screen.py

Browse files
Files changed (1) hide show
  1. screen.py +1 -1
screen.py CHANGED
@@ -12,7 +12,7 @@ def take_screenshot(url):
12
  options.add_argument('--no-sandbox')
13
  options.add_argument('--disable-dev-shm-usage')
14
  options.add_argument(f'--load-extension={proxy_extension_path}')
15
- subprocess.Popen(["x11vnc", "-forever", "-display", ":0", "-rfbauth", "~/.vnc/passwd"])
16
  try:
17
  wd = webdriver.Chrome(options=options)
18
  wd.set_window_size(1080, 720) # Adjust the window size here
 
12
  options.add_argument('--no-sandbox')
13
  options.add_argument('--disable-dev-shm-usage')
14
  options.add_argument(f'--load-extension={proxy_extension_path}')
15
+ #subprocess.Popen(["x11vnc", "-forever", "-display", ":0", "-rfbauth", "~/.vnc/passwd"])
16
  try:
17
  wd = webdriver.Chrome(options=options)
18
  wd.set_window_size(1080, 720) # Adjust the window size here