Chrome is now the default web browser when unspecified
This commit is contained in:
parent
8cd946f0a7
commit
1d49d2352f
|
@ -12,10 +12,10 @@ def pytest_addoption(parser):
|
|||
parser.addoption('--browser', action="store",
|
||||
dest='browser',
|
||||
choices=constants.Browser.VERSION.keys(),
|
||||
default=constants.Browser.FIREFOX,
|
||||
help="""Specifies the web browser to use. Default=FireFox.
|
||||
If you want to use Chrome, explicitly indicate that.
|
||||
Example: (--browser=chrome)""")
|
||||
default=constants.Browser.GOOGLE_CHROME,
|
||||
help="""Specifies the web browser to use. Default=Chrome.
|
||||
If you want to use Firefox, explicitly indicate that.
|
||||
Example: (--browser=firefox)""")
|
||||
parser.addoption('--is_pytest', action="store_true",
|
||||
dest='is_pytest',
|
||||
default=True,
|
||||
|
|
|
@ -37,9 +37,10 @@ class SeleniumBrowser(Plugin):
|
|||
'--browser', action='store',
|
||||
dest='browser',
|
||||
choices=constants.Browser.VERSION.keys(),
|
||||
default=constants.Browser.FIREFOX,
|
||||
help="""Specifies the web browser. Default: Firefox.
|
||||
If you want to use Chrome, indicate that.""")
|
||||
default=constants.Browser.GOOGLE_CHROME,
|
||||
help="""Specifies the web browser to use. Default: Chrome.
|
||||
If you want to use Firefox, explicitly indicate that.
|
||||
Example: (--browser=firefox)""")
|
||||
parser.add_option(
|
||||
'--browser_version', action='store',
|
||||
dest='browser_version',
|
||||
|
|
Loading…
Reference in New Issue