I have a function like below which passes the url of a page
URL.search("WARNING", "ERROR", EXCEPTION", "FATAL");
Will the above function do a search operation of the strings passed in the passed URL.
Just to add more info..
I am not trying to search any strings in the passed url. I am trying to search the strings in the webpage of that url.
no. it won't work.
You will have to open the page and check the DOM for any of that text.