HtmlUnit 的 Click( ) 函数不起作用
我试图使用程序登录 yahoo Pipes 帐户(使用登录页面)。下面是我正在使用的代码。单击此页面的“登录”按钮http://pipes.yahoo.com/pipes/应该打开。但看起来 click() 函数无法正常工作。由于点击“登录”按钮前后的页面内容是相同的。此代码返回 true。
我无法弄清楚出了什么问题。有人可以建议我缺少什么吗?
I was trying to login to yahoo pipes account (using the login page) with a program. Below is the code I am using. On clicking the "Sign In" button this page http://pipes.yahoo.com/pipes/ should open. But looks like the click() function is not working properly. Since the contents of pages before and after the clicking the "Sign In" button are same. This code returns true.
I am not able to figure out whats going wrong. Can someone suggest what I am missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
添加此:
然后,删除此:
Add this:
Then, remove this: