1. That message was intended to apply to the above method, not below. #set_text_field(value) is not implemented. #click_button(button_text) is implemented. I will update that to be less ambiguous. 2. No. Watir-Webdriver is, as far as I know, the only watiry thing that supports chrome to any extent, but I'm not sure what that extent is. (ChromeWatir is completely nonfunctional, last I was aware.)
On Thu, May 27, 2010 at 11:28, Liberty1776 <[email protected]> wrote: > After checking it out, it looks like a better alternative indeed. > Thank you. Just two questions: > 1. > "Not yet implemented for Vapir-Firefox > #click_button(button_text) > Finds a button on the modal dialog with text matching the given text. > Clicks on it." > > I have one modal dialog in the site that I need Vapir to click "OK" > on. > Is there a way to do it in Vapir? > > 2. > Can Vapir work with other browsers that Watir supports. I'm interested > in using Chrome to make the tests run a little faster than Firefox and > far faster than IE. > > thanks, > Michael > > On May 27, 9:50 am, Ethan <[email protected]> wrote: > > Vapir-Firefox is a more featureful and stable fork of Firewatir. The API > is > > the same, with a few exceptions. You might have a look at it. Its > homepage > > is athttp://vapir.org/ > > > > On Thu, May 27, 2010 at 06:34, Liberty1776 <[email protected]> wrote: > > > Update: > > > This seems to happen after I close one of Firefox windows. I'm using > > > 3.5.9, as that's current for my Ubuntu. Afterwards this problem > > > manifests itself and have to quit Firefox and restart it.Then it > > > works again. > > > > > Except that after 2nd time restarting Ubuntu Firefox this way, Firefox > > > refuses to start up. It brings up a startup window, but exists after 5 > > > seconds of attempted startup. > > > > > Do you have any ideas? > > > > > Thank you, > > > Michael > > > > > On May 27, 5:01 am, Liberty1776 <[email protected]> wrote: > > > > Hi all, > > > > > > I've just started using Watir. I'm developing in Linux, so I'm using > > > > FireFox 3.5 for Ubuntu 9.10 with firewatir 1.6.5. My simple script > > > > worked for 3 times and then started failing with this error. > > > > Even this fails now: > > > > b = FireWatir::Firefox.new > > > > I still have FireFox open and it hasn't changed anything since the > > > > first 3 runs succeeded. > > > > > > Do you have any ideas what can go wrong? > > > > > > Thank you, > > > > Michael > > > > > > JsshSocket::JSReferenceError: getWindows is not defined > > > > /var/lib/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ > > > > jssh_socket.rb:12:in `js_eval' > > > > /var/lib/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > > > > 175:in `get_window_number' > > > > /var/lib/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > > > > 132:in `initialize' > > > > /var/lib/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > > > > 163:in `new' > > > > /var/lib/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > > > > 163:in `start' > > > > ./watir_messagesend.rb:10:in `default_test' > > > > > -- > > > Before posting, please readhttp://watir.com/support. In short: search > > > before you ask, be nice. > > > > > You received this message because you are subscribed to > > >http://groups.google.com/group/watir-general > > > To post: [email protected] > > > To unsubscribe: > > > [email protected]<watir-general%[email protected]> > <watir-general%[email protected]<watir-general%[email protected]> > > > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: [email protected] > To unsubscribe: > [email protected]<watir-general%[email protected]> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
