From 556596d6bf367a6b2951a16d0118636d2d900161 Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Tue, 10 Sep 2024 14:21:05 +0200 Subject: [PATCH] Add no sandbox --- xclient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xclient.py b/xclient.py index 9b67bb0..aff7212 100644 --- a/xclient.py +++ b/xclient.py @@ -29,6 +29,7 @@ class XClient: # Set up the WebDriver (make sure to use the correct path for your WebDriver) options = webdriver.ChromeOptions() options.add_argument("--headless=new") + options.add_argument("--no-sandbox") service = Service(executable_path=config.CHROMEDRIVER_PATH)