Skip to content

Commit

Permalink
use --disable-dev-shm-usage to start chrome (#3739)
Browse files Browse the repository at this point in the history
to avoid ERR_INSUFFICIENT_RESOURCES errors
  • Loading branch information
valentijnscholten authored Jan 29, 2021
1 parent b4be67a commit 546b6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/base_test_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def setUpClass(cls):

# the next 2 maybe needed in some scenario's for example on WSL or other headless situations
dd_driver_options.add_argument("--no-sandbox")
# dd_driver_options.add_argument("--disable-dev-shm-usage")
dd_driver_options.add_argument("--disable-dev-shm-usage")
dd_driver_options.add_argument("--disable-gpu") # on windows sometimes chrome can't start with certain gpu driver versions, even in headless mode

# start maximized or at least with sufficient with because datatables will hide certain controls when the screen is too narrow
Expand Down

0 comments on commit 546b6f3

Please sign in to comment.