Safe Haskell | None |
---|---|
Language | Haskell2010 |
Test.Syd.Webdriver.Screenshot
Synopsis
- data Screenshot = Screenshot {
- screenshotFile :: !(Path Abs File)
- screenshotImage :: !(Image PixelRGB8)
- goldenScreenshotHere :: FilePath -> WebdriverTestM app (GoldenTest Screenshot)
- pureGoldenScreenshot :: FilePath -> ByteString -> GoldenTest Screenshot
Documentation
data Screenshot Source #
A screenshot with location
Constructors
Screenshot | |
Fields
|
goldenScreenshotHere :: FilePath -> WebdriverTestM app (GoldenTest Screenshot) Source #
Take a screenshot and turn it into a golden test.
pureGoldenScreenshot :: FilePath -> ByteString -> GoldenTest Screenshot Source #
Make a golden test for a given screenshot in lazy ByteString
form.