1.0.1 • Published 3 years ago
cit-ssc-cli v1.0.1
README
This is a library for comparing screenshots of websites
Installation
npm install cit-ssc-cli -gUsage
step 1
Initialize Project
mdkir <project name>
cd <project name>
ssc-cli initstep 2
Configure the site URL and viewPort
siteList:
{
"siteList": ["siteA","siteB","",....]
}viewPort: Customize the screen size
{
"viewPortList" : [
{
"w": 1920,
"h": 1024
},
{
"w": 768,
"h": 1024
}
]
}step 3
ssc-cli screenshotstep 3
ssc-cli diff