Skip to content

LinkedIn selectors break when LinkedIn updates DOM #1

@Aftab553911

Description

@Aftab553911

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

  1. Open Chrome with the extension loaded
  2. Go to linkedin.com/jobs
  3. Search for any job
  4. Click a result
  5. Click the JobTruth icon
  6. Check browser console for [JobTruth] Extracted: logs

Acceptance criteria

  • Job title is extracted correctly
  • Company name is extracted correctly
  • Company LinkedIn URL is extracted correctly
  • Works on direct job page
  • Works on search results panel

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions