Re: [wtr-general] how to execute javascript in safariwatir

2010-03-12 Thread Ċ½eljko Filipin
On Thu, Mar 11, 2010 at 6:52 PM, JonathanKohl wrote: > I use this with IE, and I was wondering if there is an equivalent in > SafariWatir: Tom Copeland (http://twitter.com/tcopeland) or Dave Hoover ( http://twitter.com/redsquirrel) probably know the answer, but I do not think they monitor this gr

Re: [wtr-general] how to execute javascript in safariwatir

2010-03-11 Thread Yuping Zhong
Hi, Right now,the Safariwatir is not perfect yet,some codes that can run in IE don't work in Mac. If your code cannot be executed in Safariwatir,I recommend you feedback this to the developer. Thanks! -Zhong On Fri, Mar 12, 2010 at 1:52 AM, JonathanKohl wrote: > I use this with IE, and I was w

[wtr-general] how to execute javascript in safariwatir

2010-03-11 Thread JonathanKohl
I use this with IE, and I was wondering if there is an equivalent in SafariWatir: browser.ie.Document.parentWindow.execScript("sendCommand('#{command}', '#{msg}');") Thanks, -Jonathan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You recei