uwp – Using JavaScript in WebView – Simulate click to click a website button

Use .click() to simulate click

Here is a code sample to click search button on Bing website

private async void SimulateClickAsync()
{
    var functionString = string.Format(@"document.getElementsByClassName('b_searchboxSubmit')[0].click();");
    await webView.InvokeScriptAsync("eval", new string[] { functionString });
}

if you want to reproduce, please indicate the source:
uwp – Using JavaScript in WebView – Simulate click to click a website button - CodeDay