UNPKG

@serenity-js/protractor

Version:

Adapter that integrates @serenity-js/web with Protractor, enabling Serenity/JS reporting and using the Screenplay Pattern to write end-to-end test scenarios

8 lines 432 B
export declare class ProtractorErrorHandler { private readonly handlers; constructor(handlers?: Map<string, (error: Error) => Promise<void> | void>); executeIfHandled<T>(error: Error, action: () => Promise<T> | T): Promise<T>; setHandlerFor(errorType: string, handler: (error: Error) => Promise<void> | void): void; unsetHandlerFor(errorType: string): void; } //# sourceMappingURL=ProtractorErrorHandler.d.ts.map