Running browser tests on GitHub Actions with SeleniumBase
Step 0. Create a fork of SeleniumBase on GitHub to help you get started.
- (You'll be using your own repo eventually.)
- (If using a SeleniumBase fork, the script from https://github.com/seleniumbase/SeleniumBase/blob/master/.github/workflows/python-package.yml already exists to help guide you.)
- (See https://github.com/seleniumbase/SeleniumBase/actions for the SeleniumBase example.)
- (You can click inside each build for more details.)
- (You can also see the specific steps being performed by each command.)
- (You'll notice that web browsers such as Chrome and Firefox get installed for tests to use. SeleniumBase uses pytest for running tests while using Selenium to interact with web browsers.)