Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BASIC USAGE

Just run node generate_report.js to launch new Chrome instance and generate all reports listed in report_list.js. You can also run with chromePort=xx option for running in existing Chrome instance.

report_list.js

return an array of object where key symbolizes page you are running report for and value is page url. Key will be used for as report file name.

config.json

  • headless - only works when using new Chrome instace, default: true
  • output - output format (json/csv/html), default: html
  • reportListPath - location of JS file returning array of page objects, relative to generate_report.js file, default: ./report_list.js
  • outputPath - output path, default: ./reports/%DD%.%M% , where symbols surrounded with % are replaced by according value

Pages requiring login

To use on pages requiring login you can use chromePort argument. Run chrome-debug in CLI, login in required page manually, open a new tab and close that contaning page you want to audit, pass port provided by running chrome-debug in terminal as argument.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages