Subscribes to page errors from the currently active page. This is useful for debugging and logging.

Definition

pageError(): Error

Returns

Error

Represents an error that occurred, either in the page’s JavaScript or during an operation.