Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken CDP/BiDi links and typo (#2933) #2935

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@

## 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:

Check warning on line 28 in docs/web-apps/automated-testing/cdp.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/web-apps/automated-testing/cdp.md#L28

[sauce.WordList] Use 'to' instead of 'In order to'.
Raw output
{"message": "[sauce.WordList] Use 'to' instead of 'In order to'.", "location": {"path": "docs/web-apps/automated-testing/cdp.md", "range": {"start": {"line": 28, "column": 1}}}, "severity": "WARNING"}

### 1. Using Selenium

Expand Down