diff --git a/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java b/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java index 0e149ff968a6..f6e241143119 100644 --- a/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java +++ b/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java @@ -62,6 +62,7 @@ public void setCookie() { } @Test + @Disabled("4.15 broke the casting") public void performanceMetrics() { driver.get("https://www.selenium.dev/selenium/web/frameset.html"); diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md index b8e85ed12d53..9d110c8a1a32 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md @@ -60,7 +60,7 @@ An alternate implementation can be found at [CDP Endpoint Performance Metrics]({ {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L68-L72" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L69-L73" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -92,7 +92,7 @@ and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L85-L92" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L86-L93" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -127,7 +127,7 @@ and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" > {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L105-L112" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L106-L113" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) implementation @@ -159,7 +159,7 @@ and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javasc {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L125-L130" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L126-L131" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) implementation @@ -188,7 +188,7 @@ Because getting download status requires setting a listener, this cannot be done {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L142-L154" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L143-L155" >}} {{% /tab %}} {{% tab header="Python" %}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md index b8e85ed12d53..9d110c8a1a32 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md @@ -60,7 +60,7 @@ An alternate implementation can be found at [CDP Endpoint Performance Metrics]({ {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L68-L72" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L69-L73" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -92,7 +92,7 @@ and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L85-L92" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L86-L93" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -127,7 +127,7 @@ and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" > {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L105-L112" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L106-L113" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) implementation @@ -159,7 +159,7 @@ and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javasc {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L125-L130" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L126-L131" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) implementation @@ -188,7 +188,7 @@ Because getting download status requires setting a listener, this cannot be done {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L142-L154" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L143-L155" >}} {{% /tab %}} {{% tab header="Python" %}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md index b8e85ed12d53..9d110c8a1a32 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md @@ -60,7 +60,7 @@ An alternate implementation can be found at [CDP Endpoint Performance Metrics]({ {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L68-L72" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L69-L73" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -92,7 +92,7 @@ and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L85-L92" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L86-L93" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -127,7 +127,7 @@ and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" > {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L105-L112" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L106-L113" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) implementation @@ -159,7 +159,7 @@ and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javasc {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L125-L130" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L126-L131" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) implementation @@ -188,7 +188,7 @@ Because getting download status requires setting a listener, this cannot be done {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L142-L154" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L143-L155" >}} {{% /tab %}} {{% tab header="Python" %}} {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md index b8e85ed12d53..9d110c8a1a32 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md @@ -60,7 +60,7 @@ An alternate implementation can be found at [CDP Endpoint Performance Metrics]({ {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L68-L72" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L69-L73" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -92,7 +92,7 @@ and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L85-L92" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L86-L93" >}} {{% /tab %}} {{% tab header="Python" %}} Because Python requires using async methods for this example, the synchronous approach found in @@ -127,7 +127,7 @@ and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" > {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L105-L112" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L106-L113" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) implementation @@ -159,7 +159,7 @@ and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javasc {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L125-L130" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L126-L131" >}} {{% /tab %}} {{% tab header="Python" %}} Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) implementation @@ -188,7 +188,7 @@ Because getting download status requires setting a listener, this cannot be done {{< tabpane text=true langEqualsHeader=true >}} {{% tab header="Java" %}} -{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L142-L154" >}} +{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L143-L155" >}} {{% /tab %}} {{% tab header="Python" %}} {{< badge-code >}}