Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(python): add BrowserType.connect (#6230)

Max Schmittfd1f3fa322dc
diff --git a/docs/src/api/class-browsertype.md b/docs/src/api/class-browsertype.md
index fe0c91fc1b..c7794ca596 100644
--- a/docs/src/api/class-browsertype.md
+++ b/docs/src/api/class-browsertype.md
@@ -66,7 +66,7 @@ with sync_playwright() as playwright:
```
## async method: BrowserType.connect
-* langs: js, java
+* langs: js, java, python
- returns: <[Browser]>
This methods attaches Playwright to an existing browser instance.
@@ -82,20 +82,20 @@ This methods attaches Playwright to an existing browser instance.
`30000` (30 seconds). Pass `0` to disable timeout.
### param: BrowserType.connect.wsEndpoint
-* langs: java
+* langs: java, python
- `wsEndpoint` <[string]>
A browser websocket endpoint to connect to.
### option: BrowserType.connect.slowMo
-* langs: java
+* langs: java, python
- `slowMo` <[float]>
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you
can see what is going on. Defaults to 0.
### option: BrowserType.connect.timeout
-* langs: java
+* langs: java, python
- `timeout` <[float]>
Maximum time in milliseconds to wait for the connection to be established. Defaults to