sydtest-webdriver-screenshot-0.1.0.0: A webdriver screenshot companion library for sydtest
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Syd.Webdriver.Screenshot

Synopsis

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.