Hi all,

I've run into a peculiar problem that may be a bug.  I'm using watir-
webdriver to control chrome.  My test involves simply going to a login
page (loaded via ajax) and logging in.  I go to the page, wait until
the element is present, and then fill out the form, and submit.

However, I'm finding that the script never exits the wait until
statement even though the element is clearly existing on the page.
Upon further inspection, I wrote the browser html to a file and found
out that it wasn't updated even though the DOM has updated.

Here is some simplified code:
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").exists?}
b.text_field(:id => "Email").value = "[email protected]"
b.text_field(:id => "Passwd").value = "test
b.button(:value=> "Sign in").click

Any thoughts on this would be greatly appreciated.  If needed, I can
file this in the issue tracker.

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