GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Playwright
  • Docs
  • MCP
  • CLI
  • API
  • Node.js
  • Python
  • Java
  • .NET
  • API reference
  • Classes
  • APIRequestContext
  • APIResponse
  • Browser

This view

  • Original page
  • New address

GeezerVison is showing playwright.dev — TestInfoError | Playwright

Information about an error thrown during test execution.


Properties​

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.cause

Type

  • TestInfoError

errorContext​

Added in: v1.60 testInfoError.errorContext

Additional context for the error, such as the aria snapshot of the receiver at the time of an expect(...) matcher failure.

Usage

testInfoError.errorContext

Type

  • string

message​

Added in: v1.10 testInfoError.message

Error message. Set when Error (or its subclass) has been thrown.

Usage

testInfoError.message

Type

  • string

stack​

Added in: v1.10 testInfoError.stack

Error stack. Set when Error (or its subclass) has been thrown.

Usage

testInfoError.stack

Type

  • string

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.value

Type

  • string
  • Properties
    • cause
    • errorContext
    • message
    • stack
    • value
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.