Problem
LinkedIn frequently updates their CSS class names and DOM structure.
When this happens, content.js selectors stop working and the extension
shows "Click on a job posting first" even when a job is open.
Current selectors location
JobTruth.Extension/content.js and JobTruth.Extension/popup.js
inside the extractFromPage() function.
What needs to be done
- Test the extension on a fresh LinkedIn job page
- Identify which selectors are failing
- Add updated selectors as fallbacks
- Test on both:
- Direct job URL: linkedin.com/jobs/view/xxxxx
- Search results panel: linkedin.com/jobs/search/
How to test
- Open Chrome with the extension loaded
- Go to linkedin.com/jobs
- Search for any job
- Click a result
- Click the JobTruth icon
- Check browser console for [JobTruth] Extracted: logs
Acceptance criteria
Problem
LinkedIn frequently updates their CSS class names and DOM structure.
When this happens, content.js selectors stop working and the extension
shows "Click on a job posting first" even when a job is open.
Current selectors location
JobTruth.Extension/content.jsandJobTruth.Extension/popup.jsinside the
extractFromPage()function.What needs to be done
How to test
Acceptance criteria