Re: [fakeapp] Waiting for Javascript alert

92 views
Skip to first unread message

Todd Ditchendorf

unread,
Oct 16, 2012, 7:54:32 PM10/16/12
to fak...@googlegroups.com
The "Wait for JavaScript Alert" action waits for a JS dialog presented via the following JS calls:

alert()
confirm()
prompt()

Note that this Action knows nothing about "JS dialogs" which are created via some DOM div or other DOM tricks. There's absolutely no way for the Action to be that omniscient.

If you want to detect arbitrary DOM changes, use the "Wait for Condition" Action (see the options there).

TD



On Tue, Oct 16, 2012 at 1:05 PM, Leigh Emmerson <leighe...@gmail.com> wrote:
Hi,

Can someone tell me how to use the wait for javascript alert. At the moment it just waits forever. But I cannot find any documentation on it and I'm not sure what if anything I should put in the top righthand box. If I Ctrl drag to the webpage the dropdown changes to 'Has element for XPath'.

Any help would be greatly appreciated.

Leigh

Reply all
Reply to author
Forward
0 new messages