Skip to content

Commit 8cb0057

Browse files
committed
[JS] Fix code sample and line numbers in pages
1 parent 5cf253f commit 8cb0057

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/javascript/test/browser/cookies.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ suite(function(env) {
99
driver = await env.builder().build();
1010
});
1111

12-
after(() => driver.quit());
12+
after(async () => await driver.quit());
1313

1414
it('Create a cookie', async function() {
1515
await driver.get('https://www.selenium.dev/selenium/web/blank.html');

website_and_docs/content/documentation/webdriver/interactions/cookies.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ ensure
637637
end
638638
{{< /tab >}}
639639
{{< tab header="JavaScript" text=true >}}
640-
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L20-L26">}}
640+
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L24-L26">}}
641641
{{< /tab >}}
642642
{{< tab header="Kotlin" >}}
643643
import org.openqa.selenium.Cookie

website_and_docs/content/documentation/webdriver/interactions/cookies.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ ensure
627627
end
628628
{{< /tab >}}
629629
{{< tab header="JavaScript" text=true >}}
630-
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L20-L26">}}
630+
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L24-L26">}}
631631
{{< /tab >}}
632632
{{< tab header="Kotlin" >}}
633633
import org.openqa.selenium.Cookie

website_and_docs/content/documentation/webdriver/interactions/cookies.pt-br.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ ensure
631631
end
632632
{{< /tab >}}
633633
{{< tab header="JavaScript" text=true >}}
634-
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L20-L26">}}
634+
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L24-L26">}}
635635
{{< /tab >}}
636636
{{< tab header="Kotlin" >}}
637637
import org.openqa.selenium.Cookie

website_and_docs/content/documentation/webdriver/interactions/cookies.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ ensure
625625
end
626626
{{< /tab >}}
627627
{{< tab header="JavaScript" text=true >}}
628-
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L20-L26">}}
628+
{{< gh-codeblock path="/examples/javascript/test/browser/cookies.spec.js#L24-L26">}}
629629
{{< /tab >}}
630630
{{< tab header="Kotlin" >}}
631631
import org.openqa.selenium.Cookie

0 commit comments

Comments
 (0)