cancelDownload

suspend fun cancelDownload(args: Browser.CancelDownloadParameter, mode: CommandMode = CommandMode.DEFAULT)

Cancel a download if in progress


suspend fun cancelDownload(guid: String, browserContextId: String? = null)

Cancel a download if in progress

Parameters

guid

Global unique identifier of the download.

browserContextId

BrowserContext to perform the action in. When omitted, default browser context is used.