-
Hi there, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hello @tallevy22, thank you,
Or if you just want the folder setup without the sample tests, add
(If the directory name already exists in that folder, it'll throw an error message so that it doesn't overwrite any folders.) To see other console scripts such as |
Beta Was this translation helpful? Give feedback.
-
the thing is that i want to create different tests using the methods and objects so I'm looking to separate them In different classes. eg--- Project |
Beta Was this translation helpful? Give feedback.
-
@tallevy22 Then maybe this has the examples you're looking for: |
Beta Was this translation helpful? Give feedback.
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 thepytest.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
: