* Creates a condition that will wait for the given element to be deselected. * * @param {!./webdriver.WebElement} element The element to test. * @return {!WebElementCondition} The new condition. * @see webdriver.WebDriver#isSelected
(element)
| 350 | * @see webdriver.WebDriver#isSelected |
| 351 | */ |
| 352 | function elementIsNotSelected(element) { |
| 353 | return new WebElementCondition('until element is not selected', function () { |
| 354 | return element.isSelected().then((v) => (v ? null : element)) |
| 355 | }) |
| 356 | } |
| 357 | |
| 358 | /** |
| 359 | * Creates a condition that will wait for the given element's |
nothing calls this directly
no test coverage detected