#6 ✓resolved
Peter Szinek

FireWatir slowness

Reported by Peter Szinek | November 29th, 2008 @ 10:09 PM | in 0.4.1

http://agora.scrubyt.org/forums/...

Solution (yak4):

I modified navigation_actions.rb, firewatir.rb and mechanize.rb. The following is from firewatir.rb.
Extended the method signature and used the additional parameter for the conditional textfield setting.
Within navigation_actions.rb I just extended the method signature and passed through the paramter

def self.fill_textfield(textfield_name, query_string, useValue = nil)
  @@current_form = "//input[@name='#{textfield_name}']/ancestor::form"
  if useValue
    @@agent.text_field(:name,textfield_name).value = query_string
  else
    @@agent.text_field(:name,textfield_name).set(query_string)
  end

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A simple to learn and use, yet powerful web scraping toolkit written in Ruby.

People watching this ticket

Pages