Jump to content
Registration disabled at the moment Read more... ×
polasss

Delphi, WebView2 - ExecuteScript - get the complete source website

Recommended Posts

how to use ExecuteScript to get the complete page source - something like browser does with

view-source: https//..any..web..page

If I call

ExecuteScript wbBrowser.ExecuteScript('document.documentElement.outerHTML') 

i only get what is displayed on the page. However, there are web pages that display data in a table and currently only display a portion of the records (e.g. 1-10 out of 1000). By calling 

wbBrowser.ExecuteScript('document.documentElement.outerHTML') i only get the current 1-10, but the browser will display the complete data using 

view-source: https//****).

Unfortunately, for data protection reasons I can't show the source of the page.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×