Fast way to search webpage

Hi all, I have a LOT of webpages, i need to scan for a specific value and extract it. Its working very good, but I have the issue, that its not fast enoough for me. It’s bothering me, that I have to wait until all elements are loaded, even I dont need them. Is there any way to do it without rebuilding the whole page each and every time? Thanks for your help.

Hi,
you can get plain text of website and use first check that in text is value matched by regex:

System.Text.RegularExpressions.Regex.IsMatch(your_String,"regex_pattern")

1 Like

Thanks for your answer. But how can I store the webpage in a string variable without waiting for it to load completely?

Have you worked with the “WaitForReady” = Interactive setting on the Body site selector?

image

1 Like

yes, i’m not getting all text from the website

its working now. My selectors were wrong. Thanks for your help.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.