I am using WebdriverIO in the WebStorm IDE and I am testing a web application that requires Adobe Flash Player to be enabled in order to continue. I am trying to verify that a browser's notification displays (see below image). I am not looking to click/select "allow" or "block", I am only testing to see if the notification displays in the browser.
How could I accomplish this? I would be testing a variety of different browsers including Chrome, Firefox, Internet Explorer, Microsoft Edge, and Safari.
I also understand that there are methods such as getAlertText
, acceptAlert
, and dismissAlert
, however none of these methods are recognized or executed in my IDE.
Should these methods work? How could I get these methods to work?
If any more information is needed, I'll be happy to comply.