const { Builder, By } = require('selenium-webdriver') const url = 'http://localhost:3000' async function test01() { let driver = new Builder().forBrowser('chrome').build() driver.get(url) let res = await driver.findElement(By.id('jarmu')).isSelected() console.log(res) } test01()