No need to struggle to figure out how to run a Python Selenium script with a GitHub Action. This is a ready to use template for running Selenium with Python via GitHub Actions either headless or non-headless.
Example and usage
To use Github Action:
Use this template
Run the action “Run Selenium On GitHub Action” which will print GitHub site title.
Make changes as needed to the Python script
If you change the name Selenium-Template.py – reflect the changes in the GitHub Action
Make changes as needed to the
An example of the template sucessfully running on GitHub:
Want to improve this? Create a pull request with detailed changes / improvements! If approved you will be added to the list of contributors of this awesome project!
See also the list of contributors who participate in this project.
This project is licensed under the MIT License – see the LICENSE.md file for details.