node-horseman icon indicating copy to clipboard operation
node-horseman copied to clipboard

How do I click on a swal alert using node-horseman?

Open faisalAvizia opened this issue 9 years ago • 1 comments

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?

faisalAvizia avatar Dec 06 '16 15:12 faisalAvizia

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.

awlayton avatar Mar 07 '17 20:03 awlayton