On Monday, June 3, 2013 9:28:50 AM UTC-5, enroxorz wrote:
>
> So I know that this issue was resolved here:
>
> https://groups.google.com/d/msg/watir-general/FqVBzjNuOqA/7HtFJoJYzzkJ
>
> but when I tested it I was running on Windows XP SP 3 with IE 8. We just 
> got new testing servers in that are Windows 2008 and IE9 and when I do the 
> following I get an error (attached is the test html file).
>
> b = Watir::Browser.new
> b.goto('file:///c:/test.html/')
> b.execute_script "window.prompt = function() { return true; }"
>
> Using Win7 and IE9, I noticed "Internet Explorer restricted this webpage 
from running scripts or ActiveX controls" displayed on the bottom of my 
browser when heading to test.html on my local machine.

I had to click that before executing any javascript from that file.  

Andre


-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to