webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
13 lines • 575 B
TypeScript
interface ListenerLog {
debug(...args: unknown[]): void;
warn(...args: unknown[]): void;
}
/**
* Log the error of a command that an event listener or a background task sent: it has
* no caller to give the error to. At the end of a session (a session end error, or any
* error after the WebDriver BiDi connection of `browser` closed) it is a debug message,
* any other error is a warning.
*/
export declare function logBackgroundError(log: ListenerLog, message: string, err: unknown, browser?: unknown): void;
export {};
//# sourceMappingURL=sessionEnded.d.ts.map