Python-Selenium-Action
Python-Selenium-Action copied to clipboard
Run Selenium with Python via Github Actions using Headless or Non-Headless browsers!
Python-Selenium-Action
![](https://i.imgur.com/s0CDqF5.png)
Show your support!
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.
Comes with support already provided for taking screenshot's & more via PyVirtualDisplay!
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
Selenium-Template.py
. -
If you change the name Selenium-Template.py - reflect the changes in the GitHub Action
Selenium-Action_Template.yaml
file. -
Make changes as needed to the
Selenium-Action_Template.yaml
file.
Demo(s)
An example of the template sucessfully running on GitHub:
Contributing ![GitHub](https://img.shields.io/github/contributors/MarketingPipeline/Python-Selenium-Action)
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.
License ![GitHub](https://img.shields.io/github/license/MarketingPipeline/Python-Selenium-Action)
This project is licensed under the MIT License - see the LICENSE.md file for details.