Replies: 2 comments 1 reply
-
Converting to discussion as this is very unlikely a bug in Have you confirmed the javascript runs in https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#javascript-debugging Every new version of
Did you check the response? What was the error? If you aren't returning a value then switch to |
Beta Was this translation helpful? Give feedback.
-
I've got the same problems. Based on the initial ticket and the descriptions here, I have created an example. Version 125.0.210 is used here. If you switch to ChromeRuntime in the constructor of the MainWindow, only simple click events are working (switch to 'Terms of Service'). The 'complex' click events are no longer triggered and the LifeSpanHandler no longer works as expected. In addition, JS alerts then only work with activated DevTools. This behavior is still unchanged in the latest version 130.1.90. |
Beta Was this translation helpful? Give feedback.
-
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
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
Beta Was this translation helpful? Give feedback.
All reactions