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?
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?