afterEach(() => { browser.execute('window.localStorage.clear()'); });. P.S. Assuming you are using WebdriverIO 5 or above.
確定! 回上一頁