puppeteer-simple-cli
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "puppeteer-simple-cli", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Build your e2e testing with puppeteer simple structure.", | ||
@@ -5,0 +5,0 @@ "author": "tienmi", |
@@ -18,3 +18,3 @@ # Puppeteer-simple-cli | ||
``` | ||
$psc | ||
$ psc | ||
``` | ||
@@ -25,3 +25,3 @@ | ||
``` | ||
$psc init <project-name> | ||
$ psc init <project-name> | ||
``` | ||
@@ -32,3 +32,3 @@ | ||
``` | ||
$psc update | ||
$ psc update | ||
``` | ||
@@ -39,6 +39,6 @@ | ||
``` | ||
npm run test | ||
$ npm run test | ||
``` | ||
##### create src/main.config.js and addition config | ||
##### Create src/main.config.js and addition config | ||
@@ -48,12 +48,10 @@ ``` | ||
targetURL: '', // It's your target URL | ||
pipelines: [ | ||
pipelines: [ // Execute your situation in order | ||
{ | ||
name: 'stepName', | ||
path: 'your script path', | ||
retry: 0, // number of retries | ||
reload: false // true is page reload | ||
title: 'Situation description', | ||
path: 'Your script path' | ||
} | ||
], | ||
config: { headless: false, slowMo: 50, defaultViewport: null }, | ||
retry: 1 | ||
config: { headless: false, slowMo: 50, defaultViewport: null }, // Puppeteer config | ||
retry: 1 // Number of retries | ||
}; | ||
@@ -60,0 +58,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4436
58