Skip to content

Run Selenium with Python via Github Actions using Headless or Non-Headless browsers!

License

Notifications You must be signed in to change notification settings

MarketingPipeline/Python-Selenium-Action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.