public class FixedTopBarShootingStrategy
extends ru.yandex.qatools.ashot.screentaker.ShootingStrategy
| Constructor and Description |
|---|
FixedTopBarShootingStrategy(org.openqa.selenium.By topElementToRemove)
Creates shootingstragety which takes screenshot of the whole page and the
ability to remove a fixed header navbar
|
FixedTopBarShootingStrategy(int headerToCut)
Creates shootingstragety which takes screenshot of the whole page and the
ability to remove a fixed header navbar
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
getScreenshot(org.openqa.selenium.WebDriver wd) |
public FixedTopBarShootingStrategy(org.openqa.selenium.By topElementToRemove)
topElementToRemove - unique identifier of the top navbarpublic FixedTopBarShootingStrategy(int headerToCut)
headerToCut - size of the header to remove in pxpublic BufferedImage getScreenshot(org.openqa.selenium.WebDriver wd)
getScreenshot in class ru.yandex.qatools.ashot.screentaker.ShootingStrategyCopyright © 2019 willhaben internet service GmbH & Co KG. All rights reserved.