Skip to content

Latest commit

 

History

History

serenity-shutterbug

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Serenity Shutterbug 1.x integration

To use Shutterbug 0.9.5 with Serenity, add the Serenity Shutterbug dependency to your project:

        <dependency>
            <groupId>net.serenity-bdd</groupId>
            <artifactId>serenity-shutterbug</artifactId>
        </dependency>

Then set the serenity.screenshooter property in your Serenity config file:

serenity.screenshooter=shutterbug

You can configure Shutterbug with the following properties:

shutterbug {
    scrollstrategy = VIEWPORT_ONLY (or) WHOLE_PAGE (or) WHOLE_PAGE_SCROLL_AND_STITCH
    betweenScrollTimeout = 100
    useDevicePixelRatio = true 
}