Skip to content

Commit 288137b

Browse files
committed
Update docs for always-enabled command-line options
1 parent 8b897fd commit 288137b

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,6 @@ SeleniumBase provides additional Pytest command-line options for tests:
243243
--disable-csp # (This disables the Content Security Policy of websites.)
244244
--enable-sync # (The option to enable "Chrome Sync".)
245245
--use-auto-ext # (The option to use Chrome's automation extension.)
246-
--no-sandbox # (The option to enable Chrome's "No-Sandbox" feature.)
247-
--disable-gpu # (The option to enable Chrome's "Disable GPU" feature.)
248246
--incognito # (The option to enable Chrome's Incognito mode.)
249247
--guest # (The option to enable Chrome's Guest mode.)
250248
--devtools # (The option to open Chrome's DevTools when the browser opens.)

help_docs/customizing_test_runs.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ SeleniumBase provides additional Pytest command-line options for tests:
116116
--disable-csp # (This disables the Content Security Policy of websites.)
117117
--enable-sync # (The option to enable "Chrome Sync".)
118118
--use-auto-ext # (The option to use Chrome's automation extension.)
119-
--no-sandbox # (The option to enable Chrome's "No-Sandbox" feature.)
120-
--disable-gpu # (The option to enable Chrome's "Disable GPU" feature.)
121119
--incognito # (The option to enable Chrome's Incognito mode.)
122120
--guest # (The option to enable Chrome's Guest mode.)
123121
--devtools # (The option to open Chrome's DevTools when the browser opens.)

seleniumbase/plugins/pytest_plugin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ def pytest_addoption(parser):
4646
--disable-csp (This disables the Content Security Policy of websites.)
4747
--enable-sync (The option to enable "Chrome Sync".)
4848
--use-auto-ext (The option to use Chrome's automation extension.)
49-
--no-sandbox (The option to enable Chrome's "No-Sandbox" feature.)
50-
--disable-gpu (The option to enable Chrome's "Disable GPU" feature.)
5149
--incognito (The option to enable Chrome's Incognito mode.)
5250
--guest (The option to enable Chrome's Guest mode.)
5351
--devtools (The option to open Chrome's DevTools when the browser opens.)
@@ -364,12 +362,14 @@ def pytest_addoption(parser):
364362
action="store_true",
365363
dest='no_sandbox',
366364
default=False,
367-
help="""Using this enables the "No Sandbox" feature.""")
365+
help="""Using this enables the "No Sandbox" feature.
366+
(This setting is now always enabled by default.)""")
368367
parser.addoption('--disable_gpu', '--disable-gpu',
369368
action="store_true",
370369
dest='disable_gpu',
371370
default=False,
372-
help="""Using this enables the "Disable GPU" feature.""")
371+
help="""Using this enables the "Disable GPU" feature.
372+
(This setting is now always enabled by default.)""")
373373
parser.addoption('--incognito', '--incognito_mode', '--incognito-mode',
374374
action="store_true",
375375
dest='incognito',

seleniumbase/plugins/selenium_plugin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ class SeleniumBrowser(Plugin):
3737
--disable-csp (This disables the Content Security Policy of websites.)
3838
--enable-sync (The option to enable "Chrome Sync".)
3939
--use-auto-ext (The option to use Chrome's automation extension.)
40-
--no-sandbox (The option to enable Chrome's "No-Sandbox" feature.)
41-
--disable-gpu (The option to enable Chrome's "Disable GPU" feature.)
4240
--incognito (The option to enable Chrome's Incognito mode.)
4341
--guest (The option to enable Chrome's Guest mode.)
4442
--devtools (The option to open Chrome's DevTools when the browser opens.)
@@ -279,13 +277,15 @@ def options(self, parser, env):
279277
action="store_true",
280278
dest='no_sandbox',
281279
default=False,
282-
help="""Using this enables the "No Sandbox" feature.""")
280+
help="""Using this enables the "No Sandbox" feature.
281+
(This setting is now always enabled by default.)""")
283282
parser.add_option(
284283
'--disable_gpu', '--disable-gpu',
285284
action="store_true",
286285
dest='disable_gpu',
287286
default=False,
288-
help="""Using this enables the "Disable GPU" feature.""")
287+
help="""Using this enables the "Disable GPU" feature.
288+
(This setting is now always enabled by default.)""")
289289
parser.add_option(
290290
'--incognito', '--incognito_mode', '--incognito-mode',
291291
action="store_true",

0 commit comments

Comments
 (0)