Skip to content

Commit

Permalink
Test - Update to use LoadUrlAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Jun 4, 2021
1 parent 4e16f3b commit 2371370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CefSharp.Test/JavascriptBinding/IntegrationTestFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public async Task JsBindingGlobalApiDisabled()
//To modify the settings we need to defer browser creation slightly
browser.CreateBrowser();

await browser.LoadPageAsync();
await browser.LoadUrlAsync();

var response1 = await browser.EvaluateScriptAsync("typeof window.cefSharp === 'undefined'");
var response2 = await browser.EvaluateScriptAsync("typeof window.CefSharp === 'undefined'");
Expand All @@ -175,7 +175,7 @@ public async Task JsBindingGlobalApiEnabled()
//To modify the settings we need to defer browser creation slightly
browser.CreateBrowser();

await browser.LoadPageAsync();
await browser.LoadUrlAsync();

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

0 comments on commit 2371370

Please sign in to comment.