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
Hi,
I am trying to detect events / function calls (more specifically an alert) that is fired directly when the document loads (it is placed directly on the script tag, not binded by any event listener:
Hi,
I am trying to detect events / function calls (more specifically an alert) that is fired directly when the document loads (it is placed directly on the script tag, not binded by any event listener:
but it does not seem to work
I got this on the preload script
and
I then check in the test whether I got the expected alert_messages.
This works when the alert is triggered by a click or some other event but not with the example above.
Does anyone know a way to check this other than, for example, duplicating the script tag during the test?
The text was updated successfully, but these errors were encountered: