Thanks for the info, Zeljko. That's going to take some studying to 
understand.
 
one more question and might be a simple answer but after spending a few 
hours looking for code example I found nothing.  How do I simiply examine 
the value of a certain element?  For example, on the quibid home page, how 
do I get the value, programatically, of the "Live Actions" text at the top 
left of the screen?  Or of a link?  I did this some years ago and thought 
it had something to do with a question mark (?)  ?  
 
thanks.
 

On Tuesday, December 4, 2012 4:15:46 AM UTC-6, Željko Filipin wrote:

> On Sat, Dec 1, 2012 at 10:30 PM, TommyW <[email protected] <javascript:>> 
> wrote:
> > browser.button(:id, "929940484").click
>
> Looks like relevant HTML is:
>
> <a href="#" class="buttons bid medium orange">Bid Now</a>
>
> You should be able to click it with:
>
> browser.a(:text => "Bid Now").click
>
> By the way, that will click the first link with text "Bid Now". 
>
> If you want to click a specific link, find an parent element with an 
> unique attribute. For example:
>
> <div id="864656507" class="864656507" bid="Bid Now">
> ...
> <a href="#" class="buttons bid medium orange">Bid Now</a>
> ...
>
> You could click exactly this "Bid Now" link with:
>
> browser.div(:id => "864656507").a(:text => "Bid Now").click 
>
> Željko
> --
> https://leanpub.com/watirbook 
>

-- 
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]

Reply via email to