Invert Securiy popup warning in FireFox using Selenium IDE

I am using Selenium IDE 2.5.0.

When using Firefox 23.0.1, the "Security Warning" popup displays "Continue" and "Cancel." When this popup is displayed, it doesn’t allow you to select something or view the source file before clicking Continue and Cancel

I tried all the solutions mentioned, about: config, but there is no security.warn in the list above.

I also tried disabling all warnings in the security tab / settings (warning messages) enter image description here

Someone suggested emulating the 'Enter' key, but I could not get the opportunity to view the name of the pop-up window, since I can not view the source files.

?

.

+4
2

. , .

2) , :

executeScript("window.alert.myAlertText = null;");
executeScript("window.confirm = function(msg){ window.alert.myAlertText = msg; return true; };");

executeScript JavascriptExecuter. , . .

0
chooseOkOnNextConfirmation

?

chooseOkOnNextConfirmation()

selectCancelOnNextConfirmation. , Selenium overridden window.confirm() true, OK, , - . , Selenium , true (OK), / selectCancelOnNextConfirmation .

: , , getConfirmation, .

selectCancelOnNextConfirmation

0

Source: https://habr.com/ru/post/1545315/


All Articles