/// declare namespace Cypress { interface Chainable { /** * Get one or more DOM elements by an XPath selector. * **Note:** you can test XPath expressions from DevTools console using $x(...) function, for example $x('//div') to find all divs. * @see https://github.com/cypress-io/cypress-xpath * @example * cy.xpath(`//ul[@class="todo-list"]//li`) * .should('have.length', 3) */ xpath(selector: string, options?: Partial): Chainable> } }