ditampilkan

const assert = require('assert')

describe('v5.webdriver.io', () => {

    it('should detect if element is displayed', async () => {

        browser.url('https://v5.webdriver.io')

        const helpButton = await $('[href="/help.html"]')
        isDisplayed  = await helpButton.isDisplayed();
        
        console.log('IS DISPLAYED?' + isDisplayed );  // false or true

       }) 
})


Vivacious Vicuña