public final class WebDriverExtensions extends Object
| Modifier and Type | Method and Description |
|---|---|
static Results |
analyze(org.openqa.selenium.WebDriver webDriver)
Run axe against the entire page.
|
static Results |
analyze(org.openqa.selenium.WebDriver webDriver,
AxeBuilderOptions axeBuilderOptions)
Run axe against the entire page.
|
static Results |
analyze(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.WebElement context)
Run axe against the entire page.
|
static Results |
analyze(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.WebElement context,
AxeBuilderOptions axeBuilderOptions)
Run axe against the entire page.
|
public static Results analyze(org.openqa.selenium.WebDriver webDriver) throws IOException, OperationNotSupportedException
webDriver - for the page to be scannedIOException - if analysis of page reaches an errorOperationNotSupportedException - if an unaccepted error occurspublic static Results analyze(org.openqa.selenium.WebDriver webDriver, AxeBuilderOptions axeBuilderOptions) throws OperationNotSupportedException, IOException
webDriver - for the page to be scannedaxeBuilderOptions - Builder optionsIOException - if analysis of page reaches an errorOperationNotSupportedException - if an unaccepted error occurspublic static Results analyze(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.WebElement context) throws IOException, OperationNotSupportedException
webDriver - for the page to be scannedcontext - A WebElement to testIOException - if analysis of page reaches an errorOperationNotSupportedException - if an unaccepted error occurspublic static Results analyze(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.WebElement context, AxeBuilderOptions axeBuilderOptions) throws OperationNotSupportedException, IOException
webDriver - for the page to be scannedcontext - A WebElement to testaxeBuilderOptions - Builder optionsIOException - if analysis of page reaches an errorOperationNotSupportedException - if an unaccepted error occursCopyright © 2020. All rights reserved.