Selenium-Debugging: Element is not clickable at point (X,Y)

前端 未结 5 1074
傲寒
傲寒 2020-11-30 19:38

I try to scrape this site by Selenium.

I want to click in \"Next Page\" buttom, for this I do:

 driver.find_element_by_class_name(\'pagination-r\').c         


        
5条回答
  •  粉色の甜心
    2020-11-30 20:09

    Use explicit wait instead of implicit.

     new WebDriverWait(TestingSession.Browser.WebDriver, TimeSpan.FromSeconds(10)).Until(ExpectedConditions.ElementExists((By.ClassName("pagination-r'")))); 
    

提交回复
热议问题