Skip to content

Commit

Permalink
Fix broken CDP/BiDi links and typo (#2933)
Browse files Browse the repository at this point in the history
Fix broken CDP/BiDi links in examples and typo on CDP main page
  • Loading branch information
gkapkowski-saucelabs authored and diemol committed Sep 10, 2024
1 parent 0e3d83d commit 27ff36d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/web-apps/automated-testing/cdp-bidi/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function setCookie() {
</TabItem>
</Tabs>

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.
Expand Down Expand Up @@ -145,7 +145,7 @@ async function myTest() {
</TabItem>
</Tabs>

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
Expand Down Expand Up @@ -199,7 +199,7 @@ async function captureConsoleLogs() {
</TabItem>
</Tabs>

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.
Expand Down Expand Up @@ -274,4 +274,4 @@ async function captureContentTypes() {
</TabItem>
</Tabs>

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)
2 changes: 1 addition & 1 deletion docs/web-apps/automated-testing/cdp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 27ff36d

Please sign in to comment.