node-horseman
node-horseman copied to clipboard
How do I click on a swal alert using node-horseman?
I am trying to click on a confirmation button on an alert and I am not able to. While using .visible(), the alert is false but it is there. The test does not throw an error, it acts as if it clicked. I'm assuming it does not do the click since the element is NOT visible.
How do I click on a sweetalert using node-horseman?
Could you post an example for reproducing the problem? Also, I'm pretty sure the element does not need to be visible for .click() to work.