A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cefsharp.github.io/api/118.6.x/html/M_CefSharp_ILoadHandler_OnFrameLoadStart.htm below:

ILoadHandlerOnFrameLoadStart Method Version 118.6.80

Called when the browser begins loading a frame. The

Frame

value will never be empty Check the

IsMain

method to see if this frame is the main frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method may not be called for a particular frame if the load request for that frame fails. For notification of overall browser load status use

OnLoadingStateChange(IWebBrowser, LoadingStateChangedEventArgs)

instead. This method will be called on the CEF UI thread. Blocking this thread will likely cause your UI to become unresponsive and/or hang.

Namespace:  CefSharp
Assembly:

CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax
void OnFrameLoadStart(
	IWebBrowser chromiumWebBrowser,
	FrameLoadStartEventArgs frameLoadStartArgs
)
void OnFrameLoadStart(
	IWebBrowser^ chromiumWebBrowser, 
	FrameLoadStartEventArgs^ frameLoadStartArgs
)
Parameters
chromiumWebBrowser
Type: CefSharpIWebBrowser
the ChromiumWebBrowser control
frameLoadStartArgs
Type: CefSharpFrameLoadStartEventArgs
args
Remarks

Whilst thist may seem like a logical place to execute js, it's called before the DOM has been loaded, implement

OnContextCreated(IWebBrowser, IBrowser, IFrame)

as it's called when the underlying V8Context is created (Only called for the main frame at this stage)

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4