Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marketingpipeline/python-selenium-action

Run Selenium with Python via Github Actions using Headless or Non-Headless browsers!
https://github.com/marketingpipeline/python-selenium-action

actions automation chromedriver github github-action github-actions headless headless-browser headless-chrome python python-selenium python3 scraper scraping selenium selenium-python selenium-webdriver webdriver webdriver-manager xvfb

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Python-Selenium-Action




Show your support!












No need to struggle to figure out how to run a Python Selenium script with a [GitHub Action](https://github.com/features/actions).
This is a ready to use template for running Selenium with Python via [GitHub Actions](https://github.com/features/actions) either headless or non-headless.
Comes with support already provided for taking screenshot's & more via [PyVirtualDisplay](https://pypi.org/project/PyVirtualDisplay/)!

## Example and usage

To use Github Action:

- Use this
[template](https://github.com/MarketingPipeline/Python-Selenium-Action/generate)

- 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:

- [Results From Successful Python Selenium Action](https://github.com/MarketingPipeline/Python-Selenium-Action/blob/main/GitHub_Action_Results.txt)

- [Successful Action Run](https://github.com/MarketingPipeline/Python-Selenium-Action/actions/runs/2412796846)


## 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](https://github.com/MarketingPipeline/Python-Selenium-Action/graphs/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](https://github.com/MarketingPipeline/Python-Selenium-Action/blob/main/LICENSE) file for
details.