Hi g,

comments are inline.


On Wed, Apr 17, 2013 at 10:53 AM, <[email protected]> wrote:

> I would like to use *watir* rather than *watir-webdriver* since I want
> watir's ability to wait until the next page loads after I submit a form in
> my web application.
>

Watir project consists of several Ruby gems. Watir gem is used to install
watir-classic and/or watir-webdriver, depending on your platform.
Watir-classic gem used to be called just watir a year or two ago.


> *I've got both of them installed on the same machine.*
>
> ( Watir waits: http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir )
> ( watir-webdriver doesn't: http://watirwebdriver.com/waiting/ )
>
> *First question:* did I understand correctly? Does watir wait while
> watir-webdriver doesn't?
>

As far as I know, no. Both watir-classic and watir-webdriver try to wait,
but since they have completely different implementations, there is a chance
that watir-classic would do a better job for your application.


> I wanted to run watir with chrome and was asked to install the
> chromedriver: http://watirwebdriver.com/chrome/ .
>

Watir-classic can only driver IE. If you want to drive Chrome you have to
use watir-webdriver.


> Now my code executes:
>
> require 'watir'
>> browser = Watir::Browser.new :chrome
>> browser.goto ...#etc
>>
>
> *Am I really using watir and not watir-webdriver (through some
> transparent, implicit import)? I need to know because I need to know if
> wait works as I expect it - watir style rather than watir-webdriver style.)
> *
>

No, as I said before, you have to use watir-webdriver to drive Chrome.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to