public class DefaultJavaScriptErrorRetriever extends Object implements JavaScriptErrorRetriever
JavaScriptErrorRetriever, using the JSErrorCollector
library.| Constructor and Description |
|---|
DefaultJavaScriptErrorRetriever(com.google.common.base.Supplier<? extends org.openqa.selenium.WebDriver> webDriver) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<JavaScriptErrorInfo> |
getErrors()
Attempt to retrieve Javascript errors from the current driver.
|
boolean |
isErrorRetrievalSupported()
Return true if the current driver supports retrieval of Javascript errors.
|
public DefaultJavaScriptErrorRetriever(com.google.common.base.Supplier<? extends org.openqa.selenium.WebDriver> webDriver)
public boolean isErrorRetrievalSupported()
JavaScriptErrorRetrieverisErrorRetrievalSupported in interface JavaScriptErrorRetrieverpublic Iterable<JavaScriptErrorInfo> getErrors()
JavaScriptErrorRetrievergetErrors in interface JavaScriptErrorRetrieverCopyright © 2015 Atlassian. All rights reserved.