cit-ssc-cli
v1.0.1
Published
This is a library for comparing screenshots of websites
Downloads
4
Readme
README
This is a library for comparing screenshots of websites
Installation
npm install cit-ssc-cli -g
Usage
step 1
Initialize Project
mdkir <project name>
cd <project name>
ssc-cli init
step 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 screenshot
step 3
ssc-cli diff