Skip to content

Commit 0c9295f

Browse files
committed
✨ Enhance Chrome WebDriver options for improved stability in testing
1 parent 58f8554 commit 0c9295f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ def driver():
6060
if not TESTING_LOCAL:
6161
if headless:
6262
options.add_argument("--headless")
63+
options.add_argument("--no-sandbox")
64+
options.add_argument("--disable-dev-shm-usage")
65+
options.add_argument("--disable-gpu")
6366
# options.add_argument("--no=sandbox")
6467
driver = webdriver.Chrome(
6568
options=options,

0 commit comments

Comments
 (0)