From fc04a011a6ca08ca6d51f607dc5bc93baa77ee46 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Thu, 18 Jul 2024 10:49:15 +0200 Subject: [PATCH] Show content --- tests/needsSetup.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/needsSetup.ts b/tests/needsSetup.ts index 533b21a..56fd2be 100644 --- a/tests/needsSetup.ts +++ b/tests/needsSetup.ts @@ -7,6 +7,8 @@ export default async function needsSetupTest(browser: Browser) { const page = await browser.newPage(); await page.goto('http://localhost:3007/tests/test.html'); + console.log(await page.content()); + const findTextOnPage = findTextBySelector(page); const signUpButton = await findTextOnPage('Sign Up');