--001485f0a01ebb5ea7046fb034f5
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Sat, Jul 25, 2009 at 6:50 PM, Mark Thomas <mark / thomaszone.com> wrote:

> On Jul 23, 4:50 pm, Glen Holcomb <damnbig... / gmail.com> wrote:
> > I just noticed a "pause" and
> > started my Watir script up.  It logs in but after about 10 seconds it
> tries
> > to click a link despite my explicit instructions not to until content has
> > loaded.  At least I thought they were explicit instructions.
>
> They're not explicit instructions. You're merely testing for the value
> of @last_link. If @last_link is available, you're executing
> @browser.link which follows the link. If you want explicit, use
> @browser.wait().
>
> -- Mark.
>
>
Also, I was under the impression that @browser.link(:text, "link_name")
would only return true if that could be found on the page.  Is that the
wrong thing to expect?

-- 
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can√’ hear a word you√”e saying."

-Greg Graffin (Bad Religion)

--001485f0a01ebb5ea7046fb034f5--