I am wondering if there is a way to see if a series of words exist on a web page using python.
For example, is there a way to write a function that will return true iff the words 'this site is good' are found on a given web page?
Ideally I would want this to work using a web page in the chrome browser, and I am only worried about the same text that would show up if you used ctrl+f in chrome.
Thanks!
Initially I thought that you could use pynput to manually ctrl+f in chrome but I don't know how you would get a function to return true if the results of chrome's find feature are true.