Python Selenium: Unable to click button
<p>I'm new to python and want to write a web scraper which involves mouse clicking an "OK" button on a pop-up window. </p>

<p>Everything else went well but I'm not able to click the final button which leads to the data downloading. </p>

<p>The javascript is as follows:</p>

<p><a href="https://i.stack.imgur.com/SYSWp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SYSWp.png" alt="enter image description here"></a></p>

<p>I tried finding element by id but the following error message appeared:</p>

<p><a href="https://i.stack.imgur.com/SJY2n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SJY2n.png" alt="enter image description here"></a></p>