Can't get it to work in Lazarus. However, it does work in Delphi 10.3. Is there a method to retrieve the current html page being shown and assign to a string or some structure?
It's something like this:
Yes, the code you are using works. But anonymous methods are not supported under Lazarus? You can work with a method defined at form level. document.body.innerHTML should return you the Page HTML
Didn't get that far with Lazarus. Was just trying to get the web browser to recognize that Edge canary was installed. Only difference with that Laz app is a 64 bit app and Delphi is a 32 bit app. Haven't tried Laz 32 yet.
Dlls should be copied in both System32 & SysWow64