Skip to content

Commit ce02469

Browse files
committed
Add missing Dashboard documentation
1 parent 212b5a1 commit ce02469

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
411411
--enable-sync # (Enable "Chrome Sync".)
412412
--use-auto-ext # (Use Chrome's automation extension.)
413413
--remote-debug # (Enable Chrome's Remote Debugger on http://localhost:9222)
414+
--dashboard # (Enable the SeleniumBase Dashboard. Saved at: dashboard.html)
414415
--swiftshader # (Use Chrome's "--use-gl=swiftshader" feature.)
415416
--incognito # (Enable Chrome's Incognito mode.)
416417
--guest # (Enable Chrome's Guest mode.)

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
129129
--enable-sync # (Enable "Chrome Sync".)
130130
--use-auto-ext # (Use Chrome's automation extension.)
131131
--remote-debug # (Enable Chrome's Remote Debugger on http://localhost:9222)
132+
--dashboard # (Enable the SeleniumBase Dashboard. Saved at: dashboard.html)
132133
--swiftshader # (Use Chrome's "--use-gl=swiftshader" feature.)
133134
--incognito # (Enable Chrome's Incognito mode.)
134135
--guest # (Enable Chrome's Guest mode.)

seleniumbase/plugins/pytest_plugin.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def pytest_addoption(parser):
5757
--enable-sync (Enable "Chrome Sync".)
5858
--use-auto-ext (Use Chrome's automation extension.)
5959
--remote-debug (Enable Chrome's Remote Debugger on http://localhost:9222)
60+
--dashboard (Enable the SeleniumBase Dashboard. Saved at: dashboard.html)
6061
--swiftshader (Use Chrome's "--use-gl=swiftshader" feature.)
6162
--incognito (Enable Chrome's Incognito mode.)
6263
--guest (Enable Chrome's Guest mode.)
@@ -430,7 +431,10 @@ def pytest_addoption(parser):
430431
action="store_true",
431432
dest='dashboard',
432433
default=False,
433-
help="""...""")
434+
help="""Using this enables the SeleniumBase Dashboard.
435+
To access the SeleniumBase Dashboard interface,
436+
open the dashboard.html file located in the same
437+
folder that the pytest command was run from.""")
434438
parser.addoption('--swiftshader',
435439
action="store_true",
436440
dest='swiftshader',

0 commit comments

Comments
 (0)