hi

instead of exists? try with visible?

require "rubygems"
require "watir-webdriver/extensions/
wait"
require "watir-webdriver"
b = Watir::Browser.new(:chrome)
b.goto("http://test.com";)
Watir::Wait.until{b.text_field(:id=>"Email").visible?}
b.text_field(:id => "Email").value = "[email protected]"
b.text_field(:id => "Passwd").value = "test
b.button(:value=> "Sign in").click


On Tue, Oct 26, 2010 at 11:34 AM, Jari Bakken <[email protected]> wrote:

> On Tue, Oct 26, 2010 at 12:57 PM, Aaron <[email protected]> wrote:
> >
> > Any thoughts on this would be greatly appreciated.  If needed, I can
> > file this in the issue tracker.
>
> Did you print the result of Browser#html inside the Wait.until loop?
> Is the WD icon in Chrome flashing, or a constant red?
>
> If you can create a simple example that lets me reproduce the problem
> locally (or on a publicly accessible page), then please do file a bug.
> Otherwise it will just be left lying around.
>
> --
> 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]<http://groups.google.com/group/watir-general%[email protected]>
>



-- 
RAJIV KUMAR

<http://rajivkumarnandvani.wordpress.com/>
<http://learnqtphelp.blogspot.com/>

-- 
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]

Reply via email to