I want to automate this page and click Ok Button, but the page is not displaying in HTML in Firebug and status is coming as "Waiting for ..."
In such cases how to automate the click without elements ? Please advice..
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
It is browser app alert or pop up message. Generally it will not give any response on
alert.accept();. For this type of alert below approach that can be used :
User Desktop automation : User
AutoIt to click on
As it is Firefox specific, Script can use with Profile :
FirefoxProfile customProfile = new FirefoxProfile(); customProfile.setPreference("dom.disable_beforeunload", true); FirefoxDriver driver = new FirefoxDriver(customProfile);
Let me know if any other scenario happened with this pop up and verify my answer.