Contents - Index


NavigateToString

 

Type: Method

Parameters: String htmlContent

Returns: nothing

 

 

Navigate to a new document which is passed via parameter htmlContent as html.

 

The page cannot be larger than 2 MB in total size.

 

You can run javascript in the page in order to interact with it.

 

As the URL is "about:blank" there might be CORS restrictions if you try to interact with a frame that you load in your browser.

 

This will trigger the onNavigationStarting and onNavigationCompleted events.