Skip to content

Commit 27ff36d

Browse files
gkapkowski-saucelabsdiemol
authored andcommitted
Fix broken CDP/BiDi links and typo (#2933)
Fix broken CDP/BiDi links in examples and typo on CDP main page
1 parent 0e3d83d commit 27ff36d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/web-apps/automated-testing/cdp-bidi/examples.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function setCookie() {
9090
</TabItem>
9191
</Tabs>
9292

93-
See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/cdp_api/#set-cookie)
93+
See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#setting-cookies)
9494

9595
### Basic Auth
9696
Basic Auth allows you to test websites that have basic access authentication implemented.
@@ -145,7 +145,7 @@ async function myTest() {
145145
</TabItem>
146146
</Tabs>
147147

148-
See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/cdp_api/#basic-authentication)
148+
See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/network/#basic-authentication)
149149

150150

151151
## BiDi API
@@ -199,7 +199,7 @@ async function captureConsoleLogs() {
199199
</TabItem>
200200
</Tabs>
201201

202-
See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/bidi_api/#console-logs-and-errors)
202+
See also [alternative implementations](https://www.selenium.dev/documentation/webdriver/bidi/cdp/logging/#console-logs)
203203

204204
### Network Interception
205205
Network events can be intercepted for both requests and responses in order to consume or transform them.
@@ -274,4 +274,4 @@ async function captureContentTypes() {
274274
</TabItem>
275275
</Tabs>
276276

277-
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)
277+
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)

docs/web-apps/automated-testing/cdp.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Selenium has stated in their reference that they will eventually move away from
2525

2626
## Enabling CDP / BiDi
2727

28-
In order to make use of the CDP / BiDi functionality, you have three possibilities:
28+
In order to make use of the CDP / BiDi functionality, you have two possibilities:
2929

3030
### 1. Using Selenium
3131

0 commit comments

Comments
 (0)