Error
- extends: Exception
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
Added in: v1.11- type: <str>
Message of the error.
error.name
Added in: v1.11- type: <str>
Name of the error which got thrown inside the browser. Optional.
error.stack
Added in: v1.11- type: <str>
Stack of the error which got thrown inside the browser. Optional.