UNPKG

@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

20 lines 606 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ById = void 0; const Selector_1 = require("./Selector"); /** * Locates a [`PageElement`](https://serenity-js.org/api/web/class/PageElement/) using its [id](https://developer.mozilla.org/en-US/docs/Web/CSS/ID_selectors). * * **Pro tip:** Instantiate using [`By.id`](https://serenity-js.org/api/web/class/By/#id) * * @group Models */ class ById extends Selector_1.Selector { value; constructor(value) { super(); this.value = value; } } exports.ById = ById; //# sourceMappingURL=ById.js.map