From eb529a89c4440e39bb9a40818f0a9d631d01a1ae Mon Sep 17 00:00:00 2001 From: Simon Benzer <69980130+shbenzer@users.noreply.github.com> Date: Fri, 30 Aug 2024 01:42:44 -0400 Subject: [PATCH] fixed explicit wait javascript example (#1910) --- website_and_docs/content/documentation/webdriver/waits.en.md | 2 +- website_and_docs/content/documentation/webdriver/waits.ja.md | 2 +- website_and_docs/content/documentation/webdriver/waits.pt-br.md | 2 +- website_and_docs/content/documentation/webdriver/waits.zh-cn.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website_and_docs/content/documentation/webdriver/waits.en.md b/website_and_docs/content/documentation/webdriver/waits.en.md index 1c5d6bc731a3..71a368ef5a0d 100644 --- a/website_and_docs/content/documentation/webdriver/waits.en.md +++ b/website_and_docs/content/documentation/webdriver/waits.en.md @@ -115,7 +115,7 @@ This example shows the condition being waited for as a _lambda_. Python also sup {{< /tab >}} {{% tab header="JavaScript" %}} JavaScript also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) -{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L50" >}} +{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L52" >}} {{% /tab %}} {{< tab header="Kotlin" >}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/waits.ja.md b/website_and_docs/content/documentation/webdriver/waits.ja.md index 6197b2c38c14..183172b5b23b 100644 --- a/website_and_docs/content/documentation/webdriver/waits.ja.md +++ b/website_and_docs/content/documentation/webdriver/waits.ja.md @@ -115,7 +115,7 @@ This example shows the condition being waited for as a _lambda_. Python also sup {{< /tab >}} {{% tab header="JavaScript" %}} JavaScript also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) -{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L50" >}} +{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L52" >}} {{% /tab %}} {{< tab header="Kotlin" >}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/waits.pt-br.md b/website_and_docs/content/documentation/webdriver/waits.pt-br.md index d7852a0e7fb4..9f492c8f08f3 100644 --- a/website_and_docs/content/documentation/webdriver/waits.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/waits.pt-br.md @@ -115,7 +115,7 @@ This example shows the condition being waited for as a _lambda_. Python also sup {{< /tab >}} {{% tab header="JavaScript" %}} JavaScript also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) -{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L50" >}} +{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L52" >}} {{% /tab %}} {{< tab header="Kotlin" >}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/waits.zh-cn.md b/website_and_docs/content/documentation/webdriver/waits.zh-cn.md index 8173e3a58e2e..fdf5f00ab394 100644 --- a/website_and_docs/content/documentation/webdriver/waits.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/waits.zh-cn.md @@ -115,7 +115,7 @@ This example shows the condition being waited for as a _lambda_. Python also sup {{< /tab >}} {{% tab header="JavaScript" %}} JavaScript also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) -{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L50" >}} +{{< gh-codeblock path="examples/javascript/test/waits/waits.spec.js#L52" >}} {{% /tab %}} {{< tab header="Kotlin" >}} {{< badge-code >}}