Click or drag to resize

PageClient.CreateIsolatedWorldAsync Method

Version 93.1.111
Creates an isolated world for the given frame.

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntax
public Task<CreateIsolatedWorldResponse> CreateIsolatedWorldAsync(
	string frameId,
	string worldName = null,
	bool? grantUniveralAccess = null
)

Parameters

frameId
Type: System.String
Id of the frame in which the isolated world should be created.
worldName (Optional)
Type: System.String
An optional name which is reported in the Execution Context.
grantUniveralAccess (Optional)
Type: System.Nullable<Boolean>
Whether or not universal access should be granted to the isolated world. This is a powerfuloption, use with caution.

Return Value

Type: Task<CreateIsolatedWorldResponse>
returns System.Threading.Tasks.Task<CreateIsolatedWorldResponse>
See Also