This post is specifically for Playwright Typescript using the Playwright Test Runner.
The Playwright team has included a TestInfo class, that includes this information, and a whole lot more!
test.describe("/admin", () => {
test("login with valid user", async ({ page }, testInfo) => {
await page.goto("