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
-
Peter Szinek November 29th, 2008 @ 10:13 PM
- Milestone set to 0.4.1
- State changed from new to open
-
Peter Szinek December 5th, 2008 @ 09:02 PM
- State changed from open to resolved
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.
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.