☰
Debian Codegraph
@
4.1.5-1
4.0.1-1
/
/
test
/
playwright
/
helpers
/
auth.mjs
☽
☼
test/playwright/helpers/auth.mjs
code
plain
raw
Apache-2.0
2008-2024 Vsevolod Stakhov <
[email protected]
>
debian/copyright
1
export async function login(page, password) {
2
await page.goto("/");
3
const input = page.locator("#connectPassword");
4
await input.fill(password);
5
await page.locator("#connectButton").click();
6
}