When working with HTML, I came across the following code snippet (it's not from my website):
<script>
alert('1');
</script>
My challenge now is to test this code using Selenium IDE and ensure that the alert will be clicked. How can I achieve this?
I attempted solutions provided on a related inquiry Click in OK button inside an Alert (Selenium IDE), but unfortunately, they did not work as expected.