loadNetworkResource
suspend fun loadNetworkResource(args: Network.LoadNetworkResourceParameter, mode: CommandMode = CommandMode.DEFAULT): Network.LoadNetworkResourceReturn
Fetches the resource and returns the content.
suspend fun loadNetworkResource(frameId: String? = null, url: String, options: Network.LoadNetworkResourceOptions): Network.LoadNetworkResourceReturn
Fetches the resource and returns the content.
Parameters
frameId
Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.
url
URL of the resource to get content for.
options
Options for the request.