Tests fail in safari on sites that ask permission for notifications
※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.
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.
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
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.