> frame!
> $ie=Watir::IE.start("http://www.runescape.com")
> $ie.link(:text,/play runescape/i).click
> #oops, that _should_ work, but it doesn't!  Humm
> $ie.show_frames
>   there are 1 frames
>   frame  index: 1 name:
> #Ahh!
> $ie.frame('').link(:text,/play runescape/i).click
> #yes. It's that bad/poorly written.  While there is a decent defense
> of using frames, not giving labels and ids to things is just bad.
> #ayway, that's the first of two play runescape links, you can get to
> the second one this way
> #and then use any of the regular methods on it you wish, like click or
> flash or html or whatever.
> $ie.frame('').link(:text=>/play runescape/i,:index=>2)
> 
> --Kyle

Ok... right now.. i think I'm going insane or something????????????
So at first i try
require 'watir'
$ie=Watir::IE.start("http://www.runescape.com")
$ie.link(:text,/play runescape/i).click
works brilliantly,
so i went farther into the site (choosing detail)
so i add on
require 'watir'
$ie=Watir::IE.start("http://www.runescape.com")
$ie.link(:text,/play runescape/i).click
ie.button(:value, "low detail").click
once again... great success *i don't think i added the $ infront of the 
ie.button?
so i go to choose a world... doesn't work... so i tried just choosing 
detail.. nothing.. i tried just doing what Kyle 1st said,
require 'watir'
$ie=Watir::IE.start("http://www.runescape.com")
$ie.link(:text,/play runescape/i).click....
NOW NOTHING WORKS, i know I'm overreacting... but this just for some 
reason is really bugging me... heres the error i get.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Schmode>cd\

C:\>hell.rb
./watir.rb:1928:in `assert_exists': Unable to locate object, using text 
and (?i-
mx:play runescape (existing user)) 
(Watir::Exception::UnknownObjectException)
        from ./watir.rb:2009:in `click'
        from C:/hell.rb:3

C:\>
Much thanks for anyone that helps :)
-- 
Posted via http://www.ruby-forum.com/.