Skip to content

Run Selenium Tests

Run Selenium Tests #3

Workflow file for this run

name: Run Selenium Tests
on:
workflow_dispatch: # This allows manual triggering from GitHub Actions UI
jobs:
selenium-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Chrome
run: |
sudo apt update
sudo apt install -y wget
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
- name: Install dependencies
run: |
pip install selenium webdriver-manager
- name: Run Selenium script
run: python main.py