I am currently using Selenium to automate a webpage. There is a clickable text on the page that says "Show More Matches" and it triggers an OnClick function in the backend. By default, clicking on it shows 5 more matches. In the code snippet below, you can see that the argument is set to 5. However, I want to retrieve 20 more matches by clicking on the same text. Currently, I have to manually edit the HTML code and replace the argument with 20 to achieve this. My goal is to accomplish this task using Selenium.
<td colspan="6" class="last lastR">
<a class="show_more"
onclick="glib_show_hidden('','h2h_home',5); return false"
href="#">
Show more matches <span class="arrow"></span>
</a>
</td>