const assert = require('assert')
describe('v5.webdriver.io', () => {
it('should have the right title', async () => {
await browser.url('https://v5.webdriver.io')
const title = await browser.getTitle()
assert.strictEqual(title, 'WebdriverIO · Next-gen WebDriver test framework for Node.js')
//или//
assert(title === 'WebdriverIO · Next-gen WebDriver test framework for Node.js')
})
})