chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.runtime / RuntimeDomain / terminateExecution

terminateExecution

suspend fun terminateExecution(): Unit

Terminate current or next JavaScript execution. Will cancel the termination when the outer-most script execution ends.

Official doc