How to get HTML SOURCE with Delphi Sydney 10.4.2 and Edge Webbrowser Component

2k views Asked by At

I have TEdgeBrowser in Delphi 10.4.2. I would like to extract a RegEx-based string from the HTML code. In the past, it was possible with TWebBrowser (only with IE 11 or below) as selectedEngine.

But my site wants no IE 11+ anymore. So I have to use the Edge-based TEdgeBrowser in Syndey. I found this article to get the source by an script call, but with the latest Edge (Evergreen Standalone from here), I always get the AResultObjectAsJson will be 'null' (no results are returns).

What can I do to accomplish my task?

0

There are 0 answers