是否可以在赛普拉斯中运行节点js代码?

时间:2020-09-16 09:25:40

标签: cypress

The below code is working fine if I run independently as a node : 
     var execSync = require('child_process').execSync;
            var cmd = "bzt blazemeter.json";
            console.log(execSync(cmd));

但是如果我将其与cypress集成,则使用相同的代码,它会产生以下错误,如屏幕截图所示

Screenshot-error

0 个答案:

没有答案