I wrote a browser in C# and it navigates custom pages, invokes specified buttons by using navigated "HtmlDocument". However, one of the buttons displays a confirmation box written in JS.
onclick="return confirm('Are you sure ?');"
This is not my call and how can I click on "OK" for this confirmation by using WebBrowser elements? Thanks in advance.