visitante en la ventana gráfica

const assert = require('assert')

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

    it('should demonstrate is element visible in viewport', async () => {

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

        let ishelpDisplayedInViewport = await $('[href="/help.html"]').isDisplayedInViewport();
        
        
        console.log('isHelpDisplayedInViewport?' + ishelpDisplayedInViewport );  //  true

        let isGitDisplayedInViewport = await $('#footer [href="https://github.com/webdriverio/webdriverio"]').isDisplayedInViewport();
        
        
        console.log('isGitHUBDisplayedInViewport?' + isGitDisplayedInViewport );  //  false
        
    }) 

})
Vivacious Vicuña