Skip to content

do i need to download the whole project-or just import seleniumbase #1052

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

You must be logged in to vote

Hello @tallevy22, thank you,
You can just import the package to use it. Cloning it gives you the advantage of having all the example tests from the examples/ folder for learning SeleniumBase better. If you just import it, you may want to copy the pytest.ini file from https://github.com/seleniumbase/SeleniumBase/blob/master/pytest.ini into the root folder. Or you can create a test directory with that and sample tests by running:
sbase mkdir FOLDER_NAME Eg: sbase mkdir ui_tests:

sbase mkdir ui_tests

   1   ui_tests/                      
   2   ├── __init__.py
   3   ├── my_first_test.py
   4   ├── parameterized_test.py
   5   ├── pytest.ini
   6   ├── requirements.txt
   7   ├── setup.cfg…

Replies: 3 comments 4 replies

Comment options

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

@mdmintz
Comment options

Answer selected by mdmintz
Comment options

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

@tallevy22
Comment options

Comment options

You must be logged in to vote
0 replies
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