我是CodeceptJSPuppeteer的新手。完成后我想让我的窗口浏览器打开。

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/

10-12 04:43