Package com.microsoft.playwright
Class BrowserType.ConnectOverCDPOptions
java.lang.Object
com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
- Enclosing interface:
BrowserType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetHeaders(Map<String, String> headers) Additional HTTP headers to be sent with connect request.setSlowMo(double slowMo) Slows down Playwright operations by the specified amount of milliseconds.setTimeout(double timeout) Maximum time in milliseconds to wait for the connection to be established.
-
Field Details
-
headers
Additional HTTP headers to be sent with connect request. Optional. -
slowMo
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0. -
timeout
Maximum time in milliseconds to wait for the connection to be established. Defaults to30000(30 seconds). Pass0to disable timeout.
-
-
Constructor Details
-
ConnectOverCDPOptions
public ConnectOverCDPOptions()
-
-
Method Details
-
setHeaders
Additional HTTP headers to be sent with connect request. Optional. -
setSlowMo
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0. -
setTimeout
Maximum time in milliseconds to wait for the connection to be established. Defaults to30000(30 seconds). Pass0to disable timeout.
-