CodeceptJS
是Puppeteer
的新手。完成后我想让我的窗口浏览器打开。
Feature('Login');
Scenario('test', (I) => {
I.amOnPage('https://google.es')
});
答案 0 :(得分:1)
只需将pause()作为测试用例的最后一行
Feature('Login');
Scenario('test', (I) => {
I.amOnPage('https://google.es')
pause();
});