How to handle javascript with watir

html code:

my question:

how to locate the password field with watir?

Lucas wrote:

html code:

Someone warned me yesterday that the language=“javascript” part is
deprecated and should no longer be used. So I thot I’d pass that on.

But sorry, I’ve never used watir. A shot in the dark would be to say
that 90% of this kind of thing involves the id=

This should work:

browser.text_field(:id, “TPL_password”).set “not-the-real-one”

By the way, you will get more answers at
http://groups.google.com/group/watir-general/

Željko