exportSession

suspend fun exportSession(crash: CrashInfo? = null): String(source)

Exports the current session as a JSON string.

Return

JSON string that can be imported as a ghost device in DevTools

Parameters

crash

Crash information to embed; defaults to the last reported crash