I use puppeteer to get data from page. It have pagination (1,2,3). I need to click on a different button to open new page. But only difference between the buttons is innerText (1,2,3).
Button 1:
<a id="lbnGoToPage" href="javascript:__doPostBack('GoToPage','')">1</a>
Button 2:
<a id="lbnGoToPage" href="javascript:__doPostBack('GoToPage','')">2</a>
Button 3:
<a id="lbnGoToPage" href="javascript:__doPostBack('GoToPage','')">3</a>
How to select button 2 after I have finish get data from page one?