If SeleniumBase wasn't installed correctly, specify that, and how to.
This commit is contained in:
parent
7a468ef3c6
commit
2d11593409
|
@ -1463,6 +1463,10 @@ class BaseCase(unittest.TestCase):
|
||||||
self.headless_active = True
|
self.headless_active = True
|
||||||
|
|
||||||
# Launch WebDriver for both Pytest and Nosetests
|
# Launch WebDriver for both Pytest and Nosetests
|
||||||
|
if not hasattr(self, "browser"):
|
||||||
|
raise Exception("""SeleniumBase plugins did not load! """
|
||||||
|
"""Please reinstall using:\n"""
|
||||||
|
""" >>> "python setup.py develop" <<< """)
|
||||||
self.driver = browser_launcher.get_driver(self.browser,
|
self.driver = browser_launcher.get_driver(self.browser,
|
||||||
self.headless,
|
self.headless,
|
||||||
self.use_grid,
|
self.use_grid,
|
||||||
|
|
Loading…
Reference in New Issue