@@ -13644,14 +13644,20 @@ def setUp(self, masterqa_mode=False):
13644
13644
# Pure Python run. Eg. SB() Manager
13645
13645
self.__activate_virtual_display_as_needed()
13646
13646
13647
- # Verify that SeleniumBase is installed successfully
13647
+ # Verify SeleniumBase is installed successfully, and used correctly
13648
13648
if not hasattr(self, "browser"):
13649
13649
raise Exception(
13650
- "SeleniumBase plugins DID NOT load! * Please REINSTALL!\n"
13651
- "*** Either install SeleniumBase in Dev Mode from a clone:\n"
13650
+ "SeleniumBase plugins DID NOT load!\n"
13651
+ 'Either "seleniumbase" is not installed on your system,\n'
13652
+ 'or you called "setUp()" directly without initialization!\n'
13653
+ "*** To install SeleniumBase in Develop Mode from a clone:\n"
13652
13654
' >>> "pip install -e ." (Run in DIR with setup.py)\n'
13653
- "*** Or install the latest SeleniumBase version from PyPI:\n"
13654
- ' >>> "pip install -U seleniumbase" (Run in any DIR)'
13655
+ "*** To install the latest SeleniumBase version from PyPI:\n"
13656
+ ' >>> "pip install -U seleniumbase" (Run in any DIR)\n'
13657
+ 'NOTE: "setUp()" can ONLY be called after vars are set.\n'
13658
+ ' If using "pytest", then "pytest_plugin.py" sets them.\n'
13659
+ ' The SeleniumBase "SB()" Manager can also set them.\n'
13660
+ "See SeleniumBase/help_docs/syntax_formats.md for details!"
13655
13661
)
13656
13662
13657
13663
if not hasattr(sb_config, "_is_timeout_changed"):
0 commit comments