我是使用 Puppeteer
的 CodeceptJS
新手。我想让我的窗口浏览器在完成后打开。
Feature('Login');
Scenario('test', (I) => {
I.amOnPage('https://google.es')
});
最佳答案
只需将 pause() 作为测试用例的最后一行
Feature('Login');
Scenario('test', (I) => {
I.amOnPage('https://google.es')
pause();
});
关于testing - CodeceptJS 完成后关闭浏览器窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58881028/