finds.dev

naveenanimation20/PageObjectModel

Page Object Model with - Selenium + Java + TestNG

View on GitHub

★ 576HTMLupdated Jun 2024

// the take

A teaching example of the Page Object Model pattern using Selenium, Java, TestNG, and Maven, targeting a free CRM demo app. It exists solely as a learning reference — there is no production system being tested here. The 1,300 forks tell you this is course material, not a framework anyone is actually running in CI.

The POM structure is clean and correctly separates page classes from test classes, which is exactly what a newcomer needs to see. Extent Reports integration gives beginners a quick win on readable HTML output. The WebEventListener using WebDriverEventListener demonstrates the event-listener pattern that most tutorials skip. Two separate TestNG suite XMLs (full suite vs. sanity) show a real-world practice worth knowing about.

The `target/` directory and compiled `.class` files are checked into the repo — the `.gitignore` isn't doing its job, and this is a bad habit to teach. The README points at freecrmtest.com, a third-party demo site that can go down or change its UI at any time, breaking all tests without any notice. There's no parallelism, no cross-browser configuration, and no CI setup — so students learn POM in isolation from how it actually runs in a real pipeline. Last pushed June 2024 and there's no indication it's been updated for Selenium 4's native wait improvements or the deprecation of older WebDriver APIs.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
576
Forks
1,300
Language
HTML
Last commit
22 Jun 2024

// nearby

If PageObjectModel isn't quite it.

All repos →