Skip to content

Latest commit

History

History
53 lines (27 loc) 路 2.15 KB

File metadata and controls

53 lines (27 loc) 路 2.15 KB

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.)


Step 1. From the GitHub Actions tab, choose to set up a Python package Workflow.


Step 2. Add your workflow .yml script.

Step 3. Commit your changes to GitHub.


Step 4. Your tests will now run on every pull request and on every commit to the master branch.

  • (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.)

Congratulations! You now know how to create and run browser tests with GitHub Actions!

Study SeleniumBase to learn more!