Do you get the same thing if you try browser.document.parentWindow.eval(whatever) ?
On Wed, Nov 25, 2009 at 13:26, aidy lewis <aidy.le...@googlemail.com> wrote: > > Hi, > > I am trying to execute some js in IE8: > > > browser.ie.document.parentWindow.execScript("window.confirm=function(){return > true}"); > > However, I am getting an 'Access denied' error when I have scripting > allowed in my IE settings and I am on the same domain as the > application server. > > Aidy > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---