chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.performance / PerformanceDomain / setTimeDomain

setTimeDomain

suspend fun setTimeDomain(input: SetTimeDomainRequest): Unit
Deprecated: Deprecated in the Chrome DevTools protocol

Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.

Official doc