0
<li title="下一页" class=" rc-pagination-next" 
aria-disabled="false" tabindex="0"> 
    <a class="rc-pagination-item-link">==$0
     ::after
    </a>
</li>

In the Above code i am unable to click the to move to the next page. If somebody could help me would be of great help.

I am writing this script in Python and using selenium chrome webdriver

codehacker
  • 320
  • 2
  • 3
  • 16
  • 2
    Share your code and clarify WHY you're *unable to click* – Andersson Jul 06 '18 at 07:45
  • @Andersson here is the code that i have written. browser.find_element_by_xpath('//a["@class=rc-pagination-item-link"]').click() – codehacker Jul 06 '18 at 07:56
  • did faced any exception on execution, plz paste exception also – murali selenium Jul 06 '18 at 08:58
  • @muraliselenium no exception the code went through but in the chrome browser it is not clicking the next button – codehacker Jul 06 '18 at 09:30
  • maybe you could try another markup: browser.find_elements_by_class_name("rc-pagination-item-link") or from selenium.webdriver.common.by import By browser.find_elements(By.CLASS_NAME, "rc-pagination-item-link") – kratze Jul 06 '18 at 09:36
  • @kratze recieved and error while implementing the one you told me which is as follows: selenium.common.exceptions.WebDriverException: Message: unknown error: Element is not clickable at point (1500, 196). Other element would receive the click:
  • ...
  • – codehacker Jul 06 '18 at 09:41
  • @sachinsafale and when you change the markup to click on the
  • element instead of the a ? Sorry it is difficult to help, when you dont see the site.
  • – kratze Jul 06 '18 at 09:44
  • @kratze i changed the markup to click on
  • and it saved me big time thanks for you help
  • – codehacker Jul 06 '18 at 10:06