Next Page Link


#1

I cannot select Next page link from that page here :
http://www.alamalsayarat.com/نصائح-و-خدع-عالم-السيارات/صيانة/بالصور-أكسسوارات-ضرورية-لسيارتك-لو-عرفت-أنها-موجودة?page=0%2C0

What I have tried:

next_page_link: //ul[contains(concat(' ',normalize-space(@class),' '),' pager ')]

Can you please help with that ?


#2

Hi Mohamed,

You’re selecting the container element here for the page links. You need to select the next page link itself.

Something like:

next_page_link: //li[contains(@class, 'pager-next')]//a