chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.emulation / EmulationDomain / setVisibleSize

setVisibleSize

suspend fun setVisibleSize(input: SetVisibleSizeRequest): Unit
Deprecated: Deprecated in the Chrome DevTools protocol

Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.

Official doc