aktiviert
const assert = require('assert')
describe('v5.webdriver.io', () => {
it('should detect if an element is enabled', async () => {
browser.url('https://v5.webdriver.io')
const iconGitHub = await $('[href="https://github.com/webdriverio/webdriverio"]')
let isEnabled = await iconGitHub.isEnabled();
console.log('iconGitHubisEnabled?' +isEnabled); //output: true
})
})
Vivacious Vicuña