TestInfoError
Source URL: https://playwright.dev/docs/api/class-testinfoerror
TestInfoError | Playwright
섹션 제목: “TestInfoError | Playwright”Information about an error thrown during test execution.
Properties
섹션 제목: “Properties”cause
섹션 제목: “cause”Added in: v1.49 testInfoError.cause
Error cause. Set when there is a cause for the error. Will be undefined if there is no cause or if the cause is not an instance of Error.
Usage
testInfoError.causeType
message
섹션 제목: “message”Added in: v1.10 testInfoError.message
Error message. Set when Error (or its subclass) has been thrown.
Usage
testInfoError.messageType
stack
섹션 제목: “stack”Added in: v1.10 testInfoError.stack
Error stack. Set when Error (or its subclass) has been thrown.
Usage
testInfoError.stackType
value
섹션 제목: “value”Added in: v1.10 testInfoError.value
The value that was thrown. Set when anything except the Error (or its subclass) has been thrown.
Usage
testInfoError.valueType