Skip to content

Commit 8963b12

Browse files
committed
Test - JsBindingGlobalApiDisabled ensure page loaded successfully
1 parent 41086fe commit 8963b12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CefSharp.Test/JavascriptBinding/IntegrationTestFacts.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ public async Task JsBindingGlobalApiDisabled()
151151
//To modify the settings we need to defer browser creation slightly
152152
browser.CreateBrowser();
153153

154-
await browser.LoadUrlAsync();
154+
var loadResponse = await browser.LoadUrlAsync();
155+
156+
Assert.True(loadResponse.Success);
155157

156158
var response1 = await browser.EvaluateScriptAsync("typeof window.cefSharp === 'undefined'");
157159
var response2 = await browser.EvaluateScriptAsync("typeof window.CefSharp === 'undefined'");

0 commit comments

Comments
 (0)