|
Hi there, |
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 |
|
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 |
|
@tallevy22 Then maybe this has the examples you're looking for: |
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.inifile 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_NAMEEg:sbase mkdir ui_tests: