aiqualitylab

Selenium Self-Healing

0
0
# Install this skill:
npx skills add aiqualitylab/agent-skills --skill "Selenium Self-Healing"

Install specific skill from multi-skill repository

# Description

AI-powered self-healing Selenium tests with Reqnroll BDD

# SKILL.md


name: Selenium Self-Healing
version: 1.0.0
description: AI-powered self-healing Selenium tests with Reqnroll BDD
author: AI Quality Lab
tags: [selenium, self-healing, testing, ai, reqnroll, bdd, dotnet]


Selenium Self-Healing Skill

Overview

Create Selenium tests that automatically recover from broken locators using local AI (Ollama).

Capabilities

  • Auto-heal broken locators using AI analysis
  • BDD testing with Reqnroll (Gherkin syntax)
  • Works with free local AI (Ollama) or GPT
  • .NET 9 + Selenium WebDriver + NUnit

Usage

Generate Self-Healing Test

Create a Selenium test for login page that:
- Navigates to the login URL
- Enters credentials
- Clicks submit
- Uses self-healing locators

Fix Broken Locator

The locator By.Id("searchBox") is failing.
Analyze the page and suggest alternative locators.

Quick Start

# 1. Install Ollama AI
ollama pull qwen3-coder:480b-cloud

# 2. Clone and run
git clone https://github.com/aiqualitylab/SeleniumSelfHealing.Reqnroll.git
cd SeleniumSelfHealing.Reqnroll.Net9
dotnet test

Installation

skills install aiqualitylab/selenium-selfhealing

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.