Hi Guys,

I am using watir-webdriver and as I understand, it stores the
reference to an element once it's been defined. So I have this
select_list that is disabled.
In irb when I do

browser.select_list(:how, :what).disabled? => true

Then I select some option on the page which fires a Javascript and
enables the select_list but when I do

browser.select_list(:how, :what).enabled? I still get false as it
still holds the reference to the old element and since the page hasn't
refreshed it doesn't know its been now enabled by the javascript. Is
there a way to delete the old reference

Thanks,

Rahul

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