I'm trying to get information from the experience and Education section.
For example of this linkedin profile:https://www.linkedin.com/in/kendra-tyson/
I want to get the information of all the experience section and education section.
For now I've been working on the Experience section. I want to get the container that has all the different jobs in the Experience sections I can iterate through the container and get the individual jobs (ie, Talent Acquisition & Human Resources Manager, Technical Recruiter)
I'm using find elements by xpath with selenium but it times out/doesn't find the xpath.
experience = wait.until(EC.visibility_of_all_elements_located((By.XPATH, make_xpath_experience)))
The xpaths that I have tried are :
make_xpath_experience = "//div[@id='experience']/div[.//h2[text()='Experience']]//ul[contains(@class, 'pvs-list')]"
make_xpath_experience = "//section[@id='experience']//li[contains(@class, 'pvs-list__outer-container')]"
and I also tried CSS selector per this stackoverflow question with the updated information as the parameters used in that answer are no longer available: Linkedin Webscrape w Selenium
experience = wait.until(EC.visibility_of_all_elements_located((By.CSS_SELECTOR, '#experience . pvs-list__outer-container')))
I also tried following this geeksforgeeks tutorial with beautifulsoup (https://www.geeksforgeeks.org/scrape-linkedin-using-selenium-and-beautiful-soup-in-python/) but the information is outdated and does not work.
How can I target the Experience section of the profile and then be able to extract the individual jobs and information (ie. full time, timeline, location)?

