下面是一段html里面的js代码
[code="html"]<br>
document.write("<label>密 码:");<br>
document.write("</label>");<br>
document.write('<input name="TPL_password" id="TPL_password" type="password" maxlength="20" size="32" tabindex="2"/>;<br>
[/code]
请问如何使用watir操作html里面的javascript呢,如何定位到里面的 ?
该问题源于用watir 模拟登陆 淘宝。 在模拟输入密码时出错。