Results 1 to 40 of 555

Thread: VB6 WebView2-Binding (Edge-Chromium)

Threaded View

  1. #10
    New Member
    Join Date
    Sep 2024
    Posts
    11

    Re: VB6 WebView2-Binding (Edge-Chromium)

    Hello Olaf,
    Since I last posted I have used the WebView2 control very successfully to display web pages in my programs. I would now like to extend that to extracting the html content of a page (to a variable or save to file) after it has displayed. This is required with pages that use code to generate their content from a database (eg an Amazon S3 bucket). I assume it requires a script but could not work out how to do it from the examples in the demo. Is it possible and could you give me an example?
    Thanks

    Update:
    I already had the solution I need:
    Code:
    WV.jsProp("document.body.outerText")
    but forgot that with a large amount of content the page needs a long time to complete!
    Last edited by misar; Nov 22nd, 2024 at 05:26 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width