This part in the html is
<div id="warningmask">
<div id="warningprompt">
<p style="text-align:center"><input type="button" value="I AGREE" onclick="document.getElementById('warningmask').style.display='none'; setCookie('over', 18);" class="largebutton"> <input type="button" value="I DISAGREE" onclick="document.location.replace('http://en.wikipedia.org/wiki/Main_Page');" class="largebutton"></p>
</div>
</div>
I have got the source with Selenium but not sure how I can click this button.
1