Update screen.py
Browse files
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
|