There are only two elements here ..
for every click on job posting more will be come but thats dynamic so only 2 elements manifest at anby give time.
So you will write a loop, click on each job posting item //li[ div/div[contains(@class, "job-card")]]
, and get 2 elements each time and loop through next posting item again..