cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.88k stars 2.92k forks source link

Can't click() on some web page since 126.2.70 #4911

Closed tifish closed 3 months ago

tifish commented 3 months ago

Is there an existing issue for this?

CefSharp Version

126.2.180

Operating System

Windows 11

Architecture

x64

.Net Version

.Net 8.0

Implementation

WinForms

Reproduction Steps

  1. Load web page: https://store.epicgames.com/en-US/download
  2. Call EvaluateScriptAsync() with javascript: document.evaluate("//a[contains(@href, '.msi')]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.click()

Expected behavior

Should start downloading.

Actual behavior

The downloading won't start since 126.2.70, including 126.2.180 and 127.3.50.

Regression?

125.0.210 and below is OK.

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

No response