Skip to main content
Version: 1.17

Error

Error is raised whenever certain operations are terminated abnormally, e.g. browser closes while page.evaluate(expression, **kwargs) is running. All Playwright exceptions inherit from this class.

error.message

Message of the error.

error.name

Name of the error which got thrown inside the browser. Optional.

error.stack

Stack of the error which got thrown inside the browser. Optional.