Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/marketingpipeline/python-selenium-action
- Owner: MarketingPipeline
- License: mit
- Created: 2022-05-31T02:31:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T21:12:50.000Z (5 months ago)
- Last Synced: 2024-10-11T18:22:48.692Z (about 1 month ago)
- Topics: 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
- Language: Python
- Homepage:
- Size: 809 KB
- Stars: 167
- Watchers: 2
- Forks: 38
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Python-Selenium-Action
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)
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.