I'm trying to crawl data from this website https://www.topcv.vn/cong-ty/fpt-software/3.html, and I want to move to next page using Selenium. But when I use click() method, it just doesn't work.
<a href="javascript:void(0)" class="btn btn-paginate btn-next" data-page="1" data-id="11111"> <i class="fa-solid fa-chevron-right"></i> </a>
What do I do wrong?
I try using click():
driver.find_element(By.CLASS_NAME, 'btn btn-paginate btn-next').click()
but it just return on my command screen this: ` Traceback (most recent call last): File "e:\DataPre-handle\f1.py", line 20, in <module> driver.find_element(By.CLASS_NAME, 'btn btn-paginate btn-next').click()
`