WebView2ControlMBS

I’m using the WebView2ControlMBS to grab the webpage source (Windows app). To make sure the page is loaded I have a timer that reloads the source until it finds specific words on the page I’m looking for. I can’t use the Navigation or Frame complete because the page does not reload, it is using javascript to load list boxes. My question is, when search the source is it faster to searh using an instr on the web.text or is it faster to use regex to find the words and then exit out of the regex loop when it is found? Thanks.

If you just look for one word, it may not matter, which way you do.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.