Skip to content

Commit 6511bc1

Browse files
authored
Merge branch 'SeleniumHQ:trunk' into py-daemon-threads
2 parents 472c3cf + b308fbf commit 6511bc1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

py/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ def options(self, cls_name):
256256
opts_cls = getattr(self.supported_options, cls_name.lower())
257257
self._options = getattr(webdriver, opts_cls)()
258258

259+
if cls_name.lower() in ("chrome", "edge"):
260+
self._options.add_argument("--disable-dev-shm-usage")
261+
259262
if self.browser_path or self.browser_args:
260263
if self.driver_class == self.supported_drivers.webkitgtk:
261264
self._options.overlay_scrollbars_enabled = False

0 commit comments

Comments
 (0)