From 32df7aff1b06181943f2f56601936464fcdb163c Mon Sep 17 00:00:00 2001 From: automatealchemist Date: Sat, 8 Feb 2025 14:32:02 +0530 Subject: [PATCH 1/2] docs: Link assertion example in using_selenium.en.md --- .../webdriver/getting_started/using_selenium.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md index 59b8c5075712..fe46de2a5955 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md @@ -155,7 +155,7 @@ In your project's `package.json`, add requirement to `dependencies`: {{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L14-L15" >}} {{< /tab >}} {{< tab header="Kotlin" >}} -{{< badge-code >}} +{{< gh-codeblock path="examples/kotlin/src/test/kotlin/dev/selenium/getting_started/FirstScriptTest.kt#L20-21" >}} {{< /tab >}} {{< /tabpane >}} From 97f327429a7433443d95502b7f658e65673340f8 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Mon, 20 Jul 2026 14:56:24 +0200 Subject: [PATCH 2/2] docs: use leading-slash path for Kotlin assertion gh-codeblock The site-wide gh-codeblock path convention moved to leading slashes, which is what the shortcode's GitHub Contents API call actually requires (missing it 404s and fails the Netlify build). The Kotlin reference added in this PR still used the old relative form; the ja/pt-br/zh-cn translations already picked up the corrected form via the trunk sync, since another PR fixed them independently in the meantime. Co-Authored-By: Claude Sonnet 5 --- .../webdriver/getting_started/using_selenium.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md index 8e9093e2bb49..03b8f67c6a90 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md @@ -158,7 +158,7 @@ In your project's `package.json`, add requirement to `dependencies`: {{< gh-codeblock path="/examples/javascript/test/getting_started/runningTests.spec.js#L14-L15" >}} {{< /tab >}} {{< tab header="Kotlin" >}} -{{< gh-codeblock path="examples/kotlin/src/test/kotlin/dev/selenium/getting_started/FirstScriptTest.kt#L20-21" >}} +{{< gh-codeblock path="/examples/kotlin/src/test/kotlin/dev/selenium/getting_started/FirstScriptTest.kt#L20-21" >}} {{< /tab >}} {{< /tabpane >}}