Tests fail in safari on sites that ask permission for notifications
  • 31 Mar 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Tests fail in safari on sites that ask permission for notifications

  • Dark
    Light

※English in this website is translated using machine translation.Please note that the content may not be 100% accurate.

If you are using push notifications on your website, your browser will generate a dialog box asking for permission.

A dialog similar to the one in the following image will appear.

mceclip000

While the dialog appears, the steps to manipulate the browser will not be executed successfully only in safari.

To work around this, the dialog must be closed. To close the dialog, you need to press the Enter key while the dialog is still appearing.

Record the step of pressing the Enter key with the following additional recording.

  • Record here

    Start additional recording from the step that did not work.

  • Click on any input element

    In order for the recorder to record a press of the Enter key, it is necessary to click on any input element first, since the input element must have focus in order for the recorder to record.

  • Press the Enter key

  • Save scenario

It is possible to close the dialog once the steps are recorded as follows.

If the above does not solve your problem, please contact us via Autify chat.

The dialog box asking permission for notification is not shown in the screenshot. If you suspect that the dialog is the cause of the failed test, please contact us via chat and we will confirm.


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.