fix: use aria-label selectors for LinkedIn Easy Apply button (class names are now hashed)

This commit is contained in:
2026-03-06 16:53:25 +00:00
parent b8a0e03c75
commit 02a7501e9d
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ export async function apply(page, job, formFiller) {
Object.assign(meta, pageMeta);
// Verify Easy Apply button
const eaBtn = await page.$(`${LINKEDIN_APPLY_BUTTON_SELECTOR}[aria-label*="Easy Apply"]`);
const eaBtn = await page.$(LINKEDIN_APPLY_BUTTON_SELECTOR);
if (!eaBtn) return { status: 'skipped_easy_apply_unsupported', meta };
// Click Easy Apply