We're basically talking about links that result in AJAX actions that
do not cause the page to reload and therefore do not allow Watir to
notice the new content?

Have you tried this approach?
http://wiki.openqa.org/display/WTR/Simple+Ajax+examples

# Quick example of Ajax examples using Watir, should work with
versions
# 1.5.1.1148 and above.

class Ajax_Example < Test::Unit::TestCase
  include Watir

  def test_scriptaculous_autocompleter
    browser = Browser.start('http://demo.script.aculo.us/ajax/
autocompleter')
    browser.text_field(:id, 'contact_name').set('al')

    # need to fire a key press event after setting the text since the
js is handling
    # keypress events
    browser.text_field(:id,
'contact_name').fire_event('onkeypress')

    # the li/lis tags are available in watir 1.5.1
    wait_until {browser.div(:id,
'contact_name_auto_complete').lis.length > 0}
    puts browser.div(:id, 'contact_name_auto_complete').lis.length
    puts browser.div(:id, 'contact_name_auto_complete').li(:index,
5).text
    browser.div(:id, 'contact_name_auto_complete').li(:text, 'Alan
Jochen').click
 end
end


On Feb 26, 10:03 am, terevos <[email protected]> wrote:
> I'm really just looking for a way to click a link and override the
> delay - or just click without waiting. Is that possible with
> firewatir?
>
> On Feb 26, 2:21 am, Angrez Singh <[email protected]> wrote:
>
> > It would be difficult to help without looking at the HTML to find out the
> > cause of the delays.
>
> > On Thu, Feb 25, 2010 at 7:42 PM, terevos <[email protected]> wrote:
> > > Unfortunately, I cannot post the HTML code or give you a link. The site is
> > > for a government contract. I've tried the same general code on something
> > > like Slashdot.org to login and had no problems with delays.
>
> > > On Feb 25, 2010, at 1:43 AM, Angrez Singh wrote:
>
> > > can you post the HTML code? or a link to website you are testing so that 
> > > we
> > > can have a look at it.
>
> > > - Angrez
>
> > > On Wed, Feb 24, 2010 at 11:53 PM, terevos <[email protected]> wrote:
>
> > >> These are my environments: (same problem happening on both)
> > >> -- Mac: 10.5.8
> > >> Ruby 1.8.6 and gem 1.3.5.
> > >> Firewatir is 1.6.5 on Firefox 3.5.8
> > >> safariwatir is 0.3.7 on Safari 4.0.4
>
> > >> -- Linux: Ubuntu 8.04
> > >> Ruby 1.8.6 and gem 1.3.6
> > >> Firewatir is 1.6.5 on Firefox 3.0.17
>
> > >> --
> > >> You received this message because you are subscribed to the Google Groups
> > >> "Watir General" group.
> > >> To post to this group, send email to [email protected]
> > >> Before posting, please read the following guidelines:
> > >>http://wiki.openqa.org/display/WTR/Support
> > >> To unsubscribe from this group, send email to
> > >> [email protected]<watir-general%2bunsubscr...@goog
> > >>  legroups.com>
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/watir-general
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Watir General" group.
> > > To post to this group, send email to [email protected]
> > > Before posting, please read the following guidelines:
> > >http://wiki.openqa.org/display/WTR/Support
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group at
> > >http://groups.google.com/group/watir-general
>
> > >  --
> > > You received this message because you are subscribed to the Google Groups
> > > "Watir General" group.
> > > To post to this group, send email to [email protected]
> > > Before posting, please read the following guidelines:
> > >http://wiki.openqa.org/display/WTR/Support
> > > To unsubscribe from this group, send email to
> > > [email protected]<watir-general%2bunsubscr...@goog
> > >  legroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/watir-general
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to