新建 run.js
const {codecept: Codecept,container} = require( 'codeceptjs' ); const config = { helpers:{ Puppeteer:{ show: true , windowSize: '1920x1080' } } } const opts = { steps: true , } const codecept = new Codecept(config,opts); |
运行