selenium-project
Test automation framework developed using Java, Selenium, TestNG, Cucumber (BDD), Maven, and POM design patterns.
Install / Use
npx skills add Yusufdmrc/selenium-projectInstalls into whichever agent you are using.
Gemini Rules
Gemini CLI config
Quality Score
Category
AutomationSupported Platforms
Skill content
View source on GitHubFramework Architecture
Directory Structure
src/test/java/Pages/: Contains Page Object Model classes. Every class should encapsulate the UI logic for a specific application page.src/test/java/stepDefinitions/: Contains the Cucumber step definition files. These classes bridge the Gherkin steps to the Page Object methods.src/test/java/utils/: Core utilities (DriverFactory,ElementHelper,ConfigReader,DataProcess).src/test/java/testRunners/: TestNG Runner classes (runner.java,ApiRunner.java,FailedScenariosRunner.java).src/test/resources/Features/: Gherkin.featurefiles.
Page Object Model (POM) Standard
All pages must use @FindBy annotations and initialize elements via PageFactory.
package Pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import utils.DriverFactory;
public class ExamplePage {
WebDriver driver;
public ExamplePage() {
this.driver = DriverFactory.getDriver();
PageFactory.initElements(driver, this);
}
@FindBy(id = "example-button")
public WebElement exampleButton;
@FindBy(xpath = "//input[@name='username']")
public WebElement usernameInput;
}
Config & Environment
- Environment URLs (
test.url,prod.url, etc.) and wait timeouts are stored insrc/test/resources/config.properties. - Configuration values are read using
ConfigReader.get("key")orConfigReader.getInt("key").
Related Skills
Agent-Reach
84.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.4kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
nanobot
48.5kUltra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
Security Score
Audited on Invalid Date
