* @param {CodeceptJS.LocatorOrString} locator * @returns {Locator}
(locator)
| 531 | * @returns {Locator} |
| 532 | */ |
| 533 | before(locator) { |
| 534 | const xpath = sprintf('%s[following-sibling::%s]', this.toXPath(), convertToSubSelector(locator)) |
| 535 | return new Locator({ xpath }) |
| 536 | } |
| 537 | } |
| 538 | |
| 539 | /** |
nothing calls this directly
no test coverage detected