createIsolatedWorld
suspend fun createIsolatedWorld(args: Page.CreateIsolatedWorldParameter, mode: CommandMode = CommandMode.DEFAULT): Page.CreateIsolatedWorldReturn
Creates an isolated world for the given frame.
suspend fun createIsolatedWorld(frameId: String, worldName: String? = null, grantUniveralAccess: Boolean? = null): Page.CreateIsolatedWorldReturn
Creates an isolated world for the given frame.
Parameters
frameId
Id of the frame in which the isolated world should be created.
worldName
An optional name which is reported in the Execution Context.
grantUniveralAccess
Whether or not universal access should be granted to the isolated world. This is a powerful option, use with caution.