Optional
exposeOptional
headersAdditional HTTP headers to be sent with web socket connect request. Optional.
Optional
loggerLogger sink for Playwright logging. Optional.
Optional
slowSlows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
Optional
timeoutMaximum time in milliseconds to wait for the connection to be established. Defaults to 0
(no timeout).
Generated using TypeDoc
This option exposes network available on the connecting client to the browser being connected to. Consists of a list of rules separated by comma.
Available rules:
example.com
,*.org:99
,x.*.y.com
,*foo.org
.127.0.0.1
,0.0.0.0:99
,[::1]
,[0:0::1]:99
.<loopback>
that matches local loopback interfaces:localhost
,*.localhost
,127.0.0.1
,[::1]
.Some common examples:
"*"
to expose all network."<loopback>"
to expose localhost network."*.test.internal-domain,*.staging.internal-domain,<loopback>"
to expose test/staging deployments and localhost.