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've got a question that's not strictly related to CDP but maybe you've got any answers for me :)
I'm using CDP for automated testing and when I'm trying to test the window.onbeforeunload functionality I'm facing a problem that chromium blocks the popup dialog because the frame never had a user gesture
Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
Do you know of any way how can I work around this? Simulate a user gesture or maybe there's any command-line arg for chrome that will turn this security feature off?
The text was updated successfully, but these errors were encountered:
Hello!
I've got a question that's not strictly related to CDP but maybe you've got any answers for me :)
I'm using CDP for automated testing and when I'm trying to test the window.onbeforeunload functionality I'm facing a problem that chromium blocks the popup dialog because the frame never had a user gesture
Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
Do you know of any way how can I work around this? Simulate a user gesture or maybe there's any command-line arg for chrome that will turn this security feature off?
The text was updated successfully, but these errors were encountered: