From 5461febcbba0349a48b483c3c582f940bdca4b6a Mon Sep 17 00:00:00 2001 From: gkapkowski-saucelabs Date: Tue, 10 Sep 2024 14:04:04 +0200 Subject: [PATCH] Fix broken CDP/BiDi links and typo (#2933) Fix broken CDP/BiDi links in examples and typo on CDP main page --- docs/web-apps/automated-testing/cdp-bidi/examples.md | 8 ++++---- docs/web-apps/automated-testing/cdp.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/web-apps/automated-testing/cdp-bidi/examples.md b/docs/web-apps/automated-testing/cdp-bidi/examples.md index 91390233c1..6049e8b8e2 100644 --- a/docs/web-apps/automated-testing/cdp-bidi/examples.md +++ b/docs/web-apps/automated-testing/cdp-bidi/examples.md @@ -90,7 +90,7 @@ async function setCookie() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/cdp_api/#set-cookie) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#setting-cookies) ### Basic Auth Basic Auth allows you to test websites that have basic access authentication implemented. @@ -145,7 +145,7 @@ async function myTest() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/cdp_api/#basic-authentication) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#basic-authentication) ## BiDi API @@ -199,7 +199,7 @@ async function captureConsoleLogs() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/bidi_api/#console-logs-and-errors) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/logging/#console-logs) ### Network Interception Network events can be intercepted for both requests and responses in order to consume or transform them. @@ -274,4 +274,4 @@ async function captureContentTypes() { -See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/bidi_api/#response-information) or [WebdriverIO reference on CDP](https://webdriver.io/docs/devtools-service/#chrome-devtools-access) +See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#network-interception) or [WebdriverIO reference on CDP](https://webdriver.io/docs/devtools-service/#chrome-devtools-access) diff --git a/docs/web-apps/automated-testing/cdp.md b/docs/web-apps/automated-testing/cdp.md index 9626261f3a..f3c0e6c3ff 100644 --- a/docs/web-apps/automated-testing/cdp.md +++ b/docs/web-apps/automated-testing/cdp.md @@ -25,7 +25,7 @@ Selenium has stated in their reference that they will eventually move away from ## Enabling CDP / BiDi -In order to make use of the CDP / BiDi functionality, you have three possibilities: +In order to make use of the CDP / BiDi functionality, you have two possibilities: ### 1. Using Selenium