If you look at the link below, you'll two divs side by side. The one on the left has a <ul>
with multiple <li>
children. Each time you click one of these <li>
it loads new content into the <div>
on the right.
In my site map I select the individual <li>
's as a SelectorElementClick but then I can't figure how to get the content of the <div>
on the right after each click. I need the "job title" and the "job description" after each click.
https://www.indeed.com/cmp/Lockheed-Martin/jobs
Sitemap:
{"_id":"Indeed-Aerospace-and-Defense","startUrl":["https://www.indeed.com/companies/best-Aerospace-&-Defense-companies"],"selectors":[{"id":"company-list","parentSelectors":["_root"],"type":"SelectorElement","selector":"#main > div > div:nth-child(2) > div > ul","multiple":true},{"id":"company-item","parentSelectors":["company-list"],"type":"SelectorElement","selector":"li","multiple":true},{"id":"company-name","parentSelectors":["company-item"],"type":"SelectorHTML","selector":"div > h2 > a","multiple":false,"regex":""},{"id":"company-link","parentSelectors":["company-item"],"type":"SelectorLink","selector":"a:nth-of-type(2)","multiple":false},{"id":"job-list","parentSelectors":["company-link"],"type":"SelectorElement","selector":"#mosaic-provider-jobcards > ul","multiple":false},{"id":"job-item","parentSelectors":["company-link"],"type":"SelectorElementClick","clickElementSelector":"li","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","multiple":true,"selector":"li"},{"id":"job-description","parentSelectors":["company-link"],"type":"SelectorHTML","selector":".JobDetailDescriptionScrollable > div > div","multiple":false,"regex":""},{"id":"job-title","parentSelectors":["company-link"],"type":"SelectorText","selector":"span.css-nsqjoo","multiple":false,"regex":""}]}