I am using Selenium web editor with javascript and node.js
At some point in my test, I must check (approve) if a specific radio box has already been verified.
I want to check if it is checked, which means that my test will be successful.
I actually tried to do this:
var radioInput = driver.findElement(webdriver.By.xpath('//*[@id="radio1'));
radioInput.isSelected().then(function() {
done();
});
I do not know, but it does not work.
suggestions
source
share