Currently, I am exploring the use of webdriverjs for testing purposes and I am really enjoying the experience so far. However, I have encountered a challenge while attempting to run more general tests. I am wondering if there is a way to check if a webpage contains specific content without having to specify a particular CSS selector?
For example, suppose I have a webpage with text scattered all over the place and I want to verify if the string "Hello World!" is present somewhere on the page. The exact location of the string is not important, just its presence.
If achieving this with webdriverjs is not feasible, is there an alternative method to conduct such a test?