@@ -13644,14 +13644,20 @@ def setUp(self, masterqa_mode=False):
1364413644 # Pure Python run. Eg. SB() Manager
1364513645 self.__activate_virtual_display_as_needed()
1364613646
13647- # Verify that SeleniumBase is installed successfully
13647+ # Verify SeleniumBase is installed successfully, and used correctly
1364813648 if not hasattr(self, "browser"):
1364913649 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"
1365213654 ' >>> "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!"
1365513661 )
1365613662
1365713663 if not hasattr(sb_config, "_is_timeout_changed"):
0 commit comments