public static class BrowserType.ConnectOverCDPOptions extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,String> |
headers
Additional HTTP headers to be sent with connect request.
|
Double |
slowMo
Slows down Playwright operations by the specified amount of milliseconds.
|
Double |
timeout
Maximum time in milliseconds to wait for the connection to be established.
|
Constructor and Description |
---|
ConnectOverCDPOptions() |
Modifier and Type | Method and Description |
---|---|
BrowserType.ConnectOverCDPOptions |
setHeaders(Map<String,String> headers)
Additional HTTP headers to be sent with connect request.
|
BrowserType.ConnectOverCDPOptions |
setSlowMo(double slowMo)
Slows down Playwright operations by the specified amount of milliseconds.
|
BrowserType.ConnectOverCDPOptions |
setTimeout(double timeout)
Maximum time in milliseconds to wait for the connection to be established.
|
public Map<String,String> headers
public Double slowMo
public Double timeout
30000
(30 seconds). Pass 0
to
disable timeout.public BrowserType.ConnectOverCDPOptions setHeaders(Map<String,String> headers)
public BrowserType.ConnectOverCDPOptions setSlowMo(double slowMo)
public BrowserType.ConnectOverCDPOptions setTimeout(double timeout)
30000
(30 seconds). Pass 0
to
disable timeout.Copyright © 2022. All rights reserved.