Closed ShaharGilad closed 3 years ago
Running the following code
const { By } = require('selenium-webdriver'); const { Builder } = require('@tpio/javascript-opensdk'); const { assert } = require('chai'); describe('search youtube edge', () => { let driver; before(async () => { driver = await new Builder().forBrowser('edge').withToken(CONSTANT.TOKEN).build(); }); after(async () => { await driver.quit(); }); it('Check side bar option', async () => { await driver.get(CONSTANT.BASE_URL); await driver.findElement(By.linkText('Explore')).click(); const exploreTitle = await driver.findElement(By.id('destination-buttons')).isDisplayed(); assert.equal(exploreTitle,false); }); });
Error display:
Running the following code
Error display: