* Find an element that has no direct child matching the provided locator. * @param {CodeceptJS.LocatorOrString} locator * @returns {Locator}
(locator)
| 442 | * @returns {Locator} |
| 443 | */ |
| 444 | withoutChild(locator) { |
| 445 | const xpath = sprintf('%s[not(./child::%s)]', this.toXPath(), convertToSubSelector(locator)) |
| 446 | return new Locator({ xpath }) |
| 447 | } |
| 448 | |
| 449 | /** |
| 450 | * Find an element that has no descendant matching the provided locator. |
no test coverage detected