mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
docs: expose connectOverCDP in java (#6107)
This commit is contained in:
parent
112ac2f98c
commit
9abed11782
@ -102,7 +102,7 @@ Maximum time in milliseconds to wait for the connection to be established. Defau
|
||||
`30000` (30 seconds). Pass `0` to disable timeout.
|
||||
|
||||
## async method: BrowserType.connectOverCDP
|
||||
* langs: js
|
||||
* langs: java, js
|
||||
- returns: <[Browser]>
|
||||
|
||||
This methods attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
|
||||
@ -114,6 +114,7 @@ Connecting over the Chrome DevTools Protocol is only supported for Chromium-base
|
||||
:::
|
||||
|
||||
### param: BrowserType.connectOverCDP.params
|
||||
* langs: js
|
||||
- `params` <[Object]>
|
||||
- `wsEndpoint` <[string]> A CDP websocket endpoint to connect to.
|
||||
- `slowMo` <[float]> Slows down Playwright operations by the specified amount of milliseconds. Useful so that you
|
||||
|
@ -88,6 +88,20 @@ playwright.close();
|
||||
|
||||
### param: Worker.waitForClose.callback = %%-java-wait-for-event-callback-%%
|
||||
|
||||
### option: BrowserType.connectOverCDP.slowMo
|
||||
* langs: java
|
||||
- `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.connectOverCDP.timeout
|
||||
* langs: java
|
||||
- `timeout` <[float]>
|
||||
|
||||
Maximum time in milliseconds to wait for the connection to be established. Defaults to
|
||||
`30000` (30 seconds). Pass `0` to disable timeout.
|
||||
|
||||
### option: BrowserType.launch.ignoreDefaultArgs = %%-csharp-java-browser-option-ignoredefaultargs-%%
|
||||
### option: BrowserType.launchPersistentContext.ignoreDefaultArgs = %%-csharp-java-browser-option-ignoredefaultargs-%%
|
||||
### option: BrowserType.launch.ignoreAllDefaultArgs = %%-csharp-java-browser-option-ignorealldefaultargs-%%
|
||||
|
Loading…
Reference in New Issue
Block a user