Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

Finding the text using the PageSource

Category: Selenium WebDriver

driver.getPageSource().contains(“TEXT that you want to see on the page”);

Leave a Reply

Your email address will not be published. Required fields are marked *