Mar-12-2020, 02:52 PM
Hi everyone, I've rewritten my code using Selenium here:
table = driver.find_element_by_id('preblockBody') job_elems = table.find_elements_by_xpath("//*[contains(@class,'pbListingTable')]") for value in job_elems: print(value.text) nxt=driver.find_element_by_xpath("//a[contains(@href, 'gotoNextPage(2)')]") driver.execute_script("arguments[0].click();", nxt)I'm now hoping to get some help on how to loop through all pages and append to a single output. I've tried a few different things, but again, pretty new so guidance is appreciated