Selenium IDE and custom confirm() function conflict
Posted
by
sakhunzai
on Stack Overflow
See other posts from Stack Overflow
or by sakhunzai
Published on 2012-07-12T13:33:35Z
Indexed on
2012/11/22
5:01 UTC
Read the original article
Hit count: 389
I am using simple modal dialog by Eric Martin. And have defined a function e.g
function confirm(message, options) {....
}
To customize all confirm dialogs. Its working nicely accross all the browsers.Except when I enable Selenium IDE ,my custom confirm dialog function fails to capture "options" parameters and firefox console echos like this:
options is undefined callback=options.callback;
Error When Selenium IDE is visible
Normal Behaviour When Selenium IDE is closed
Please help me sort out this issue so I should able to run selenium tests.
© Stack Overflow or respective owner