/test-headed

Primary LanguagePythonMIT LicenseMIT

Python-Selenium-Action


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)

This image was taken via a GitHub Action

An example of the template sucessfully running on GitHub:

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

License GitHub

This project is licensed under the MIT License - see the LICENSE.md file for details.