This commit is contained in:
Vendored
+1
-1
@@ -16,7 +16,7 @@ async function main({ context, params }) {
|
||||
await page.locator('[data-testid="username"]').fill(params.user);
|
||||
await page.locator('[data-testid="password"]').fill(params.pass);
|
||||
await page.locator('button[type="submit"]').click();
|
||||
const __text = await page.locator('[data-testid="dashboard"]').textContent();
|
||||
const __text = await page.locator('[data-testid="dashboard"]').evaluate(__maskedText);
|
||||
return __text;
|
||||
} finally {
|
||||
await page.close();
|
||||
Reference in New Issue
Block a user