public final class WebUtilsSelenium
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static byte[] |
getSeleniumPdfAsByteArray(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement linkElement) |
Read the account statement PDF into a byte array.
|
static byte[] |
getSeleniumPdfAsByteArray(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement linkElement,
java.lang.String expectedFileName) |
Read the account statement PDF into a byte array.
|
static void |
scrollTo(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement element) |
Scroll to an element so it is visible
|
public static byte[] getSeleniumPdfAsByteArray(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement linkElement)
throws WebSiteException
driver - the WebDriver to uselinkElement - the link on the page to the PDFexpectedFileName - WebSiteExceptionpublic static byte[] getSeleniumPdfAsByteArray(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement linkElement,
java.lang.String expectedFileName)
driver - the WebDriver to uselinkElement - the link on the page to the PDFexpectedFileName - public static void scrollTo(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement element)