We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d243dee commit 183b573Copy full SHA for 183b573
1 file changed
.github/actions/find/src/findForUrl.ts
@@ -4,6 +4,9 @@ import playwright from 'playwright';
4
5
export async function findForUrl(url: string, sessionStatePath?: string): Promise<Finding[]> {
6
const browser = await playwright.chromium.launch({ headless: true, executablePath: process.env.CI ? '/usr/bin/google-chrome' : undefined });
7
+ if (sessionStatePath) {
8
+ console.log(`Using session state from ${sessionStatePath}`);
9
+ }
10
const context = await browser.newContext({ storageState: !!sessionStatePath ? sessionStatePath : undefined });
11
const page = await context.newPage();
12
await page.goto(url);
0 commit comments