public class BrokenLinkReporter extends Object
| Constructor and Description |
|---|
BrokenLinkReporter(TestCase testCase,
org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
reportBrokenLinks(boolean onlyDisplayedLinks)
Checks current page for broken links and reports results to log as verifications.
|
public BrokenLinkReporter(TestCase testCase, org.openqa.selenium.WebDriver driver)
public boolean reportBrokenLinks(boolean onlyDisplayedLinks)
onlyDisplayedLinks - Set to true to filter links for displayed links.
TODO: Should also add context path to local linksCopyright © 2019. All rights reserved.