Modifier and Type | Method and Description |
---|---|
Screenshot |
BrowserDriver.screenshot() |
Screenshot |
BrowserDriver.screenshot(com.assertthat.selenium_shutterbug.utils.web.ScrollStrategy scroll) |
Screenshot |
BrowserDriver.screenshotViewport() |
Modifier and Type | Method and Description |
---|---|
Screenshot |
ScreenshotManager.screenshot()
Takes a screenshot of the entire page.
|
Screenshot |
ScreenshotManager.screenshot(com.assertthat.selenium_shutterbug.utils.web.ScrollStrategy scrollStrategy)
Takes a screenshot of the page using the specified scrolling strategy.
|
Screenshot |
ScreenshotManager.screenshotViewport()
Takes a screenshot of the currently visible section of the page.
|
Modifier and Type | Method and Description |
---|---|
Screenshot |
DefaultManager.screenshot() |
Screenshot |
DefaultManager.screenshot(com.assertthat.selenium_shutterbug.utils.web.ScrollStrategy scroll) |
Screenshot |
DefaultManager.screenshotViewport() |
Modifier and Type | Method and Description |
---|---|
Screenshot |
Screenshot.blur()
Blur the entire page.
|
Screenshot |
Screenshot.blur(org.openqa.selenium.By locator)
Blur provided element within the page only.
|
Screenshot |
Screenshot.blur(org.openqa.selenium.WebElement element)
Blur provided element within the page only.
|
Screenshot |
Screenshot.blurExcept(org.openqa.selenium.By locator)
Blurs all the page except the By provided.
|
Screenshot |
Screenshot.blurExcept(org.openqa.selenium.WebElement element)
Blurs all the page except the WebElement provided.
|
Screenshot |
Screenshot.cover(org.openqa.selenium.By locator)
Cover the provided locator with a singular color (black).
|
Screenshot |
Screenshot.cover(org.openqa.selenium.By locator,
Color color)
Cover the provided locator with the specified color.
|
Screenshot |
Screenshot.cover(com.assertthat.selenium_shutterbug.utils.web.Coordinates coords)
Cover the provided Coordinates with a singular color (black).
|
Screenshot |
Screenshot.cover(com.assertthat.selenium_shutterbug.utils.web.Coordinates coords,
Color color)
Cover the provided Coordinates with the specified color.
|
Screenshot |
Screenshot.cover(org.openqa.selenium.WebElement element)
Cover the provided element with a singular color (black).
|
Screenshot |
Screenshot.cover(org.openqa.selenium.WebElement element,
Color color)
Cover the provided element with the specified color.
|
Screenshot |
Screenshot.highlight(org.openqa.selenium.By locator)
Highlights a By within the page with Color.red and line width 3.
|
Screenshot |
Screenshot.highlight(org.openqa.selenium.By locator,
Color color)
Highlights a By within the page with the specified color and line width 3.
|
Screenshot |
Screenshot.highlight(org.openqa.selenium.By locator,
Color color,
int lineWidth)
Highlights a By within the page with the specified color and line width.
|
Screenshot |
Screenshot.highlight(com.assertthat.selenium_shutterbug.utils.web.Coordinates coords)
Highlights coordinates within the page with Color.red and line width 3.
|
Screenshot |
Screenshot.highlight(org.openqa.selenium.WebElement element)
Highlights WebElement within the page with Color.red and line width 3.
|
Screenshot |
Screenshot.highlight(org.openqa.selenium.WebElement element,
Color color)
Highlights WebElement within the page with provided color and line width of 3.
|
Screenshot |
Screenshot.highlight(org.openqa.selenium.WebElement element,
Color color,
int lineWidth)
Highlights WebElement within the page with provided color and line width.
|
Screenshot |
Screenshot.highlightWithText(org.openqa.selenium.By locator,
Color highlightColor,
int lineWidth,
String text,
Color textColor,
Font textFont)
Highlight WebElement within the page, same as in
highlight(WebElement) but providing
ability to override default color, font values. |
Screenshot |
Screenshot.highlightWithText(org.openqa.selenium.By locator,
String text)
Highlight By within the page (same as in
highlight(By) } and adding provided text above
highlighted element. |
Screenshot |
Screenshot.monochrome(org.openqa.selenium.By locator)
Makes an element within a page 'monochrome' - applies gray-and-white filter.
|
Screenshot |
Screenshot.monochrome(org.openqa.selenium.WebElement element)
Makes an element within a page 'monochrome' - applies gray-and-white filter.
|
protected Screenshot |
Screenshot.self() |
Modifier and Type | Field and Description |
---|---|
protected Screenshot |
ScreenshotTestWatcher.failShot |
Copyright © 2019. All rights reserved.