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)