playwright / latest / api / class-location.html

Location

Represents a location in the source code where TestCase or Suite is defined.

Properties​

column​

Column number in the source file.

Usage

location.column

Type

file​

Path to the source file.

Usage

location.file

Type

line​

Line number in the source file.

Usage

location.line

Type

© 2024 Microsoft
Licensed under the Apache License, Version 2.0.
https://playwright.dev/docs/api/class-location