My goal is to loop through each of the pages and scrape the contents into a DataFrame. So far, I can get the first 20 no problem. I cannot seem to figure out how to navigate to the next page on a javascript table using python selenium chrome webdriver. Have tried a few of the solutions (below seems like the closest) but cannot replicate the result. I would post the website but it is one where you need log in credentials to access. Provided a page source screenshot for the relevant ul and li elements
stackoverflow solution tried: How to click on the list of the <li> elements in an <ul> elements with selenium in python?
Am able to get the first 20 rows using: driver.find_element_by_xpath('//*[@id="allPicksId"]/div/div2').text
Then, when trying to get the next rows on next table page using the code below I get an exception: next_table_page = WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.CSS_SELECTOR, ".ant-pagination-next"))).click()
Yields this exception: ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (546, 996)
Any guidance would be appreciated!
ant-pagination-item-link
? as they shared on same space ..then next attempt would be to hit span area. - simpleApp