public class BrowserVerificationMethods extends VerificationMethods
noFailsInBuilderChain, testCase, wasSuccess| Constructor and Description |
|---|
BrowserVerificationMethods(WebInteractionMethods web) |
| Modifier and Type | Method and Description |
|---|---|
void |
browserConsoleHasNoErrors_AlsoClearsBrowserConsole()
Logs severe entries in browser console, client log, and driver log to test case log.
|
BrowserVerificationMethods |
currentPageSourceWithW3validator(boolean verbose)
Check the page source for current page with the W3C Validator API for HTML consistency.
|
BrowserVerificationMethods |
noBrokenLinksOnCurrentPage_IncludeNonDisplayedLinks() |
BrowserVerificationMethods |
noBrokenLinksOnCurrentPage() |
BrowserVerificationMethods |
textOnPage(String pattern,
StringComparisonType stringComparisonType) |
BrowserVerificationMethods |
title(String expectedTitlePattern,
StringComparisonType stringComparisonType) |
ElementVerificationMethods |
verifyElement(GuiElement guiElement) |
equals, text, textEqualspublic BrowserVerificationMethods(WebInteractionMethods web)
public BrowserVerificationMethods noBrokenLinksOnCurrentPage()
public BrowserVerificationMethods noBrokenLinksOnCurrentPage_IncludeNonDisplayedLinks()
public ElementVerificationMethods verifyElement(GuiElement guiElement)
public BrowserVerificationMethods title(String expectedTitlePattern, StringComparisonType stringComparisonType)
public BrowserVerificationMethods textOnPage(String pattern, StringComparisonType stringComparisonType)
public BrowserVerificationMethods currentPageSourceWithW3validator(boolean verbose)
verbose - If set to true warning messages will be logged, as well as extra debugging information from the W3C validation service. If set to false only errors will be logged.public void browserConsoleHasNoErrors_AlsoClearsBrowserConsole()
Copyright © 2019. All rights reserved.