Sets up a listener to automatically click "OK" or "Accept" on the very next browser dialog (alert, confirm, or prompt) that appears. Note: This must be called before the action that triggers the dialog.
Given I pw accept the next dialog Copy
Given I pw accept the next dialog
Sets up a listener to automatically click "OK" or "Accept" on the very next browser dialog (alert, confirm, or prompt) that appears. Note: This must be called before the action that triggers the dialog.