Skip to content

docs: 60-second quickstart up top, and fix two copy-paste blockers - #31

Merged
shossain786 merged 1 commit into
masterfrom
docs/readme-quickstart-60s
Jul 22, 2026
Merged

shossain786 merged 1 commit into
masterfrom
docs/readme-quickstart-60s

Conversation

@shossain786

Copy link
Copy Markdown
Contributor

Why

The README led with positioning and philosophy; the first runnable instruction sat ~70 lines down, behind a 7-step walkthrough. This puts a verified 3-file quickstart directly under the title.

Two real defects, both found while writing it

Both broke copy-paste for a first-time user.

1. The documented "minimum" selenium-boot.yml does not work. It omitted the timeouts block. ConfigurationLoader.validate() requires timeouts.explicit and timeouts.pageLoad to be positive — and they're primitive ints, so absent means 0. Copy-pasting the old snippet aborts the suite:

[ERROR] Selenium Boot failed to initialize. Aborting test suite execution.

2. The pom.xml snippet pinned no maven-compiler-plugin. On Maven ≤3.8.x the compiler level falls back to source/target 5 and the build dies with "Source option 5 is no longer supported" on any modern JDK. This is the same defect already fixed in the IntelliJ wizard's ProjectScaffold — it was never fixed in the README.

Also

  • Corrects the claim that selenium-boot.yml is optional — the loader throws if it's missing — in both the README and CLAUDE.md.
  • Repoints the docs link from the stale seleniumboot.github.io URL to docs.seleniumboot.com.

Verification

Scaffolded the quickstart exactly as documented and ran it clean-room on Maven 3.8.7 + JDK 25, resolving 3.2.0 from Maven Central against real headless Chrome:

Total Tests : 1
Passed      : 1
Failed      : 0

Exit 0. The old minimum config was also run to confirm it genuinely fails (exit 1).

🤖 Generated with Claude Code

The README led with philosophy; the first runnable instruction was ~70 lines
down, behind a 7-step walkthrough. Adds a verified 3-file quickstart directly
under the title so the first thing a visitor sees is a green test.

Two real defects found while writing it, both of which broke copy-paste:

- The documented "minimum" selenium-boot.yml omitted the timeouts block.
  ConfigurationLoader validates timeouts.explicit and timeouts.pageLoad as
  positive ints (primitives, so absent = 0), and aborts the suite with
  "Selenium Boot failed to initialize". Verified: the old snippet exits 1.

- The pom.xml snippet pinned no maven-compiler-plugin. On Maven <=3.8.x the
  compiler level falls back to source/target 5 and the build fails with
  "Source option 5 is no longer supported" on any modern JDK. This is the
  same defect already fixed in the IntelliJ wizard's ProjectScaffold.

Also corrects the claim that selenium-boot.yml is optional (the loader throws
if it is missing) in both the README and CLAUDE.md, and repoints the docs link
from the stale seleniumboot.github.io URL to docs.seleniumboot.com.

Verified end-to-end on Maven 3.8.7 + JDK 25 against Central 3.2.0 and real
headless Chrome: 1 test, passed, exit 0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@shossain786
shossain786 merged commit 860d4d2 into master Jul 22, 2026
2 checks passed
@shossain786
shossain786 deleted the docs/readme-quickstart-60s branch July 22, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant