afterAll(() => {
        const start = new Date().getTime()
        return browser.command().then((result) => {
            expect(result).toBe('foo')
            global.______wdio.afterAll = new Date().getTime() - start