@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
21 lines • 821 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModalDialogObstructsScreenshotError = void 0;
const core_1 = require("@serenity-js/core");
/**
* Thrown when the presence of a JavaScript dialog obstructs taking a screenshot.
*
* ## Learn more
* - [`Photographer`](https://serenity-js.org/api/web/class/Photographer/)
* - [`LogicError`](https://serenity-js.org/api/core/class/LogicError/)
* - [`TakeScreenshot`](https://serenity-js.org/api/web/class/TakeScreenshot/)
*
* @group Errors
*/
class ModalDialogObstructsScreenshotError extends core_1.LogicError {
constructor(message, cause) {
super(message, cause);
}
}
exports.ModalDialogObstructsScreenshotError = ModalDialogObstructsScreenshotError;
//# sourceMappingURL=ModalDialogObstructsScreenshotError.js.map