I am working on a profile scraper for LinkedIn using Chrome Extension.
Everything was working find until recently, I am getting null response for the following:
document.getElementsByClassName('pv-profile-section__card-item-v2 pv-profile-section pv-position-entity ember-view')
AND
document.getElementById('experience-section')
This works perfectly fine for my colleagues using Windows and Mac versions older than mine. The above class name for linkedin has become different on my system : class="pvs-list__outer-container"
Confusion is that how can the name of the classes be different only on my system? and how can I go about solving this?
My laptop config: MacBook Air (M1, 2020) Big Sur - 11.5.1