I need to scrape through all the pages in the (link)[https://mahabocw.in/safety-kit-benefits-distribution/]. But the url doesn't change when I move to the next page. I tried to use selenium, but I am stuck as I don't know how to click the next page. Any help or suggestions would be really appreciated.
I have implemented the following code till now.
from selenium import webdriver
import time
url = "https://mahabocw.in/safety-kit-benefits-distribution/"
driver = webdriver.Chrome()
driver.get(url)
Below is the button element I need to click
<button type="button" class="ag-paging-button">Next</button>
Thanks a lot in advance. [1]: https://mahabocw.in/safety-kit-benefits-distribution/