Skip to content

Commit a08d343

Browse files
committed
Add a docstring
1 parent c3fccbd commit a08d343

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

seleniumbase/plugins/pytest_plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,9 @@ def pytest_runtest_teardown(item):
495495

496496
@pytest.fixture()
497497
def sb(request):
498+
""" SeleniumBase as a pytest fixture.
499+
Usage example: "def test_one(sb):"
500+
You'll need to use this for tests that use other pytest fixtures. """
498501
from seleniumbase import BaseCase
499502

500503
class BaseClass(BaseCase):

0 commit comments

Comments
 (0)