internal void EnsureLoaded(CefFrame frame) { var view = GetContext(frame); if (view != null) return; var taskCompletionSource = new TaskCompletionSource<IWebView>(); _TaskCompletionSources.Add(frame.Identifier, taskCompletionSource); //run dummy script to load context frame.ExecuteJavaScript("(function(){})()", string.Empty, 0); }