Add missing Dashboard documentation

This commit is contained in:
Michael Mintz 2020-12-20 16:47:30 -05:00
parent 212b5a126e
commit ce02469fa7
3 changed files with 7 additions and 1 deletions

View File

@ -411,6 +411,7 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
--enable-sync # (Enable "Chrome Sync".)
--use-auto-ext # (Use Chrome's automation extension.)
--remote-debug # (Enable Chrome's Remote Debugger on http://localhost:9222)
--dashboard # (Enable the SeleniumBase Dashboard. Saved at: dashboard.html)
--swiftshader # (Use Chrome's "--use-gl=swiftshader" feature.)
--incognito # (Enable Chrome's Incognito mode.)
--guest # (Enable Chrome's Guest mode.)

View File

@ -129,6 +129,7 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
--enable-sync # (Enable "Chrome Sync".)
--use-auto-ext # (Use Chrome's automation extension.)
--remote-debug # (Enable Chrome's Remote Debugger on http://localhost:9222)
--dashboard # (Enable the SeleniumBase Dashboard. Saved at: dashboard.html)
--swiftshader # (Use Chrome's "--use-gl=swiftshader" feature.)
--incognito # (Enable Chrome's Incognito mode.)
--guest # (Enable Chrome's Guest mode.)

View File

@ -57,6 +57,7 @@ def pytest_addoption(parser):
--enable-sync (Enable "Chrome Sync".)
--use-auto-ext (Use Chrome's automation extension.)
--remote-debug (Enable Chrome's Remote Debugger on http://localhost:9222)
--dashboard (Enable the SeleniumBase Dashboard. Saved at: dashboard.html)
--swiftshader (Use Chrome's "--use-gl=swiftshader" feature.)
--incognito (Enable Chrome's Incognito mode.)
--guest (Enable Chrome's Guest mode.)
@ -430,7 +431,10 @@ def pytest_addoption(parser):
action="store_true",
dest='dashboard',
default=False,
help="""...""")
help="""Using this enables the SeleniumBase Dashboard.
To access the SeleniumBase Dashboard interface,
open the dashboard.html file located in the same
folder that the pytest command was run from.""")
parser.addoption('--swiftshader',
action="store_true",
dest='swiftshader',