const assert = require('assert');

describe('webdriver.io page', () => {
    it('should have the right title', () => {
        browser.url('https://webdriver.io');
        const title = browser.getTitle();
        assert.equal(title, 'WebdriverIO ยท Next-gen WebDriver test framework for Node.js');
    });
});

Console Output


      
        
Github Repository box-add share