Add no sandbox
This commit is contained in:
parent
77bfbe5113
commit
556596d6bf
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user