showing results for - "javascript check if web page text contains a word"
Luis
03 Jan 2020
1if (
2  (
3    document.documentElement.textContent || document.documentElement.innerText
4  ).indexOf('Done successfuly') > -1
5) {
6  // Do something...
7}
8