@serenity-js/web
Version:
Serenity/JS Screenplay Pattern library offering a flexible, web driver-agnostic approach for interacting with web-based user interfaces and components, suitable for various testing contexts
13 lines • 473 B
TypeScript
import { Selector } from './Selector';
/**
* Locates a [`PageElement`](https://serenity-js.org/api/web/class/PageElement/) using an [XPath selector](https://developer.mozilla.org/en-US/docs/Web/XPath).
*
* **Pro tip:** Instantiate using [`By.xpath`](https://serenity-js.org/api/web/class/By/#xpath)
*
* @group Models
*/
export declare class ByXPath extends Selector {
readonly value: string;
constructor(value: string);
}
//# sourceMappingURL=ByXPath.d.ts.map