From 088f83e2171e2cb92dccbae5172496afc4ff8156 Mon Sep 17 00:00:00 2001 From: Ajith KV Date: Tue, 14 Jul 2026 19:21:57 +0530 Subject: [PATCH] Fix Python doc line ranges and badge for BiDi network examples (#2639 follow-up) --- .../documentation/webdriver/bidi/w3c/network.en.md | 10 +++++----- .../documentation/webdriver/bidi/w3c/network.ja.md | 10 +++++----- .../documentation/webdriver/bidi/w3c/network.pt-br.md | 10 +++++----- .../documentation/webdriver/bidi/w3c/network.zh-cn.md | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.en.md b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.en.md index 9710a3ecfa3d..2f22e05c9724 100644 --- a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.en.md +++ b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.en.md @@ -19,7 +19,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L23-L29" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L22-L28" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -42,7 +42,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L32-L38" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L31-L37" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -130,8 +130,8 @@ This section contains the APIs related to network commands. {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/NetworkCommandsTest.java#L104-L108" >}} {{< /tab >}} {{< tab header="Python" >}} -{{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L41-L65" >}} +{{< badge-version version="4.46" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L40-L58" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -157,7 +157,7 @@ This section contains the APIs related to network events. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L68-L89" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L61-L76" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.ja.md b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.ja.md index 096a80891b43..9956ad529dc3 100644 --- a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.ja.md +++ b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.ja.md @@ -29,7 +29,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L23-L29" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L22-L28" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -52,7 +52,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L32-L38" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L31-L37" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -140,8 +140,8 @@ This section contains the APIs related to network commands. {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/NetworkCommandsTest.java#L104-L108" >}} {{< /tab >}} {{< tab header="Python" >}} -{{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L41-L65" >}} +{{< badge-version version="4.46" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L40-L58" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -167,7 +167,7 @@ This section contains the APIs related to network events. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L68-L89" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L61-L76" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.pt-br.md b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.pt-br.md index 738a7269dfc5..de9567d94814 100644 --- a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.pt-br.md @@ -29,7 +29,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L23-L29" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L22-L28" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -52,7 +52,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L32-L38" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L31-L37" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -140,8 +140,8 @@ This section contains the APIs related to network commands. {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/NetworkCommandsTest.java#L104-L108" >}} {{< /tab >}} {{< tab header="Python" >}} -{{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L41-L65" >}} +{{< badge-version version="4.46" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L40-L58" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -167,7 +167,7 @@ This section contains the APIs related to network events. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L68-L89" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L61-L76" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.zh-cn.md index 1e2f92aa7225..f1c2678d7b18 100644 --- a/website_and_docs/content/documentation/webdriver/bidi/w3c/network.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/bidi/w3c/network.zh-cn.md @@ -29,7 +29,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L23-L29" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L22-L28" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -52,7 +52,7 @@ This section contains the APIs related to network commands. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L32-L38" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L31-L37" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -140,8 +140,8 @@ This section contains the APIs related to network commands. {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/NetworkCommandsTest.java#L104-L108" >}} {{< /tab >}} {{< tab header="Python" >}} -{{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L41-L65" >}} +{{< badge-version version="4.46" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L40-L58" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}} @@ -167,7 +167,7 @@ This section contains the APIs related to network events. {{< /tab >}} {{< tab header="Python" >}} {{< badge-version version="4.32" >}} -{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L68-L89" >}} +{{< gh-codeblock path="/examples/python/tests/bidi/test_network_commands.py#L61-L76" >}} {{< /tab >}} {{< tab header="Ruby" >}} {{< badge-code >}}