I'm scraping a page using selenium and python. The data is paginated and the table data looks like below.
<td>
<a href="javascript:__doPostBack('ac$w$PC$PC$grid','Page$2')">2</a>
</td>
The challenge now is to get selenium to click on this link and advance to the next page.
There's a SO question that tries to address the problem but its not in python.
There are also a lot of SO questions that try to address this using execute_script
but none of them addresses the added complication of a
javascript function with seemingly two arguments.
How do I get selenium to click on this link and advance to the next page? Any help or pointer is highly appreciated.