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.
To use this on Github:
-
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
Selenium-Template.py
. -
If you change the name Selenium-Template.py - reflect the changes in your GitHub Action
yaml
file.
This image was taken via a GitHub Action!
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.