Error | Playwright Python
- extends: Exception
Error is raised whenever certain operations are terminated abnormally, e.g. browser closes while page.evaluate() is running. All Playwright exceptions inherit from this class.
Properties
message
Added in: v1.11
error.messageMessage of the error.
Usage
Type
name
Added in: v1.11
error.nameName of the error which got thrown inside the browser. Optional.
Usage
Type
stack
Added in: v1.11
error.stackStack of the error which got thrown inside the browser. Optional.
Usage
Type