XQuery Question:
Download Job Interview Questions and Answers PDF
How can I check if a web page contains specific text?
Answer:
You can obtain the page’s text using the document.body.innerText property and search for the desired text in it. For more information and code examples, see the “Checking if a Page Contains Specific Text” help topic.
Download XQuery Interview Questions And Answers
PDF
Previous Question | Next Question |
How can I find a specific image within a web page? | How can I find a web page element that contains specific text? |