Skip to content

Commit 2d11593

Browse files
committed
If SeleniumBase wasn't installed correctly, specify that, and how to.
1 parent 7a468ef commit 2d11593

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,10 @@ def setUp(self):
14631463
self.headless_active = True
14641464

14651465
# Launch WebDriver for both Pytest and Nosetests
1466+
if not hasattr(self, "browser"):
1467+
raise Exception("""SeleniumBase plugins did not load! """
1468+
"""Please reinstall using:\n"""
1469+
""" >>> "python setup.py develop" <<< """)
14661470
self.driver = browser_launcher.get_driver(self.browser,
14671471
self.headless,
14681472
self.use_grid,

0 commit comments

Comments
 (0)