interface WebError { error(): Error; location(): { column: number; line: number; url: string; }; page(): Page; } Methods
error
- error(): Error
Returns Error
location
- location(): {
column: number;
line: number;
url: string;
} Returns {
column: number;
line: number;
url: string;
}
column: number
line: number
url: string
page
- page(): Page
WebError class represents an unhandled exception thrown in the page. It is dispatched via the browserContext.on('weberror') event.