Skip to content

How I can create my personal fixture? #1631

Answered by mdmintz
lozik4 asked this question in Q&A
Discussion options

You must be logged in to vote

You can still use a conftest.py file with SeleniumBase. Put it in the root folder when you run your tests.
If you're trying to modify the existing sb fixture, you can use the example from here: https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md#sb_sf_10
(Eg. https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_override_sb_fixture.py)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@lozik4
Comment options

@mdmintz
Comment options

Answer selected by mdmintz
Comment options

You must be logged in to vote
2 replies
@mdmintz
Comment options

@lozik4
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants