From d4959eaa0721e82cebeb0ad603bcc8e222bd664f Mon Sep 17 00:00:00 2001 From: Mohammad Saddam Hossain Date: Tue, 10 Nov 2026 11:30:08 +0530 Subject: [PATCH] docs: fix quickstart test, example.com no longer has an Example Domain heading example.com dropped its

; the page is now a paragraph plus a 'Learn more' link, so getByRole(HEADING, "Example Domain") times out. Assert on the link by name instead. Reproduced with the README's three files against 3.10.0 (fails before, passes after). Co-Authored-By: Claude Sonnet 5.5 --- README.md | 3 +-- docs-site/docs/getting-started.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b439536..0d1c0d1 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,7 @@ public class SmokeTest extends BaseTest { @Test public void opensThePage() { open(); - assertThat(getByRole(Role.HEADING, "Example Domain")).isVisible(); - assertThat(getByRole(Role.LINK)).isVisible(); + assertThat(getByRole(Role.LINK, "Learn more")).isVisible(); } } ``` diff --git a/docs-site/docs/getting-started.md b/docs-site/docs/getting-started.md index a31e56c..d0b1e08 100644 --- a/docs-site/docs/getting-started.md +++ b/docs-site/docs/getting-started.md @@ -137,7 +137,7 @@ public class SmokeTest extends BaseTest { @Test public void opensThePage() { open(); // navigates to baseUrl - assertThat(getByRole(Role.HEADING, "Example Domain")).isVisible(); + assertThat(getByRole(Role.LINK, "Learn more")).isVisible(); } } ```