You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to make the automation work by overriding the windows.confirm method to return true using an inject action
This is smart!
Unfortunately there is no reliable way of clicking the native "OK" button as of my knowledge, but yeah, having confirmation trick in Functions may be a good idea. Love this trick ❤️
Is there any way to automate the acceptance of a confirm dialog that was created with JavaScript ?
I mean, dialogs created in this fashion:
window.confirm('Do you accept?');
The text was updated successfully, but these errors were encountered: