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

https://github.com/faisal-fida/python-selenium-action

Python Selenium script with a GitHub Action
https://github.com/faisal-fida/python-selenium-action

automation browser-testing github-actions python selenium web-scraping

Last synced: 8 months ago
JSON representation

Python Selenium script with a GitHub Action

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.