fix: use aria-label selectors for LinkedIn Easy Apply button (class names are now hashed)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user