oh my god!!!!! well done!!!

I say this without having tried it out - but it seems so obvious!.
I must say this whole frame thing is a pain in the a**

I will let you know how it integrate it - thanks a million. !!!



On 14 Mai, 07:49, jarodzz <jaro...@gmail.com> wrote:
> Hi, Jason.
>
> After hacked a little in def startClicker, I have it worked within my
> iframe.
> all you got to do is to update the first line of startClicker to
> locate the right frame.
> e.g.
> original one:
> jssh_command = "var win = #{BROWSER_VAR}.contentWindow;"
> if you want click something in frame A:
> jssh_command = "var win = #
> {BROWSER_VAR}.contentWindow.document.getElementById(#
> {frame_id}).contentWindow;"
>
> you can update it a little to make a work more gracefully.
> Hope it works.
>
> On May 13, 12:30 am, jason <jason.franklin.sto...@gmail.com> wrote:
>
> > I am on a mac and linux with firefox so i cannot use this Autoitx
> > thing that everyone seems to be using to click away javascript popups
> > when then they appear.
>
> > the code below works most of the time - but for some reason no the
> > websitehttp://www.stepstone.de
> > The pop appear - but it does not get clicked away.!! any ideas out
> > there??
>
> > ff = FireWatir::Firefox.new
> > ff.goto("http://www.stepstone.de";)
> > ff.startClicker("ok")
> > ff.frame(:name, "maincontent").frame(:name, "content").image(:name,
> > "Search").click
>
> > Thanks a million.
> > Jason.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to