IWebViewExecuteJavascript Method (String, String)Awesomium.NET 1.7.6Awesomium.NET
Executes some JavaScript asynchronously on the page.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

void ExecuteJavascript(
	string script,
	string frameXpath
)

Parameters

script
Type: SystemString
The string of JavaScript to execute.
frameXpath
Type: SystemString
The xpath of the frame to execute within; leave this blank to execute in the main frame.
Exceptions

ExceptionCondition
InvalidOperationException The member is called on an invalid view. (See: IsLive)
NotSupportedException The operation is not supported on a Developer Tools Inspector view (see: IsJavascriptEnabled).
NotSupportedException Javascript calls are not supported when Javascript is disabled (see: IsJavascriptEnabled).
InvalidOperationException Attempted to execute Javascript on the page, before the DOM is ready. Wait for the DocumentReady event before executing your Javascript.
See Also

Reference