code: public List<String> findUrlsInPage(final PageLoadEvent event) {
          Set<String> foundUrls = new HashSet<>();
  
          // Find elements using the specified locating mechanisms
          Set<WebElement> extractedElements = locatingMechanisms.stream()
                  .map(event.getWebDriver()::findElements)
                  .flatMap(List::stream)
                  .collect(Collectors.toSet());
  
          // Find URLs in the attribute values of the found elements
          extractedElements.forEach((WebElement element) -> {
              attributes.stream()
                      .map(element::getAttribute)
                      .filter(StringUtils::isNotBlank)
                      .map(this::findUrlsInAttributeValue)
                      .flatMap(List::stream)
                      .forEach(foundUrls::add);
          });
  
          return foundUrls.stream()
                  .collect(Collectors.toList());
      }
docs: Returns a list of validated URLs found in the page's HTML source.
  
  @param event the <code>PageLoadEvent</code> instance
  
  @return the list of found URLs