HtmlUnit button click

假装没事ソ 提交于 2019-11-29 11:25:48
Mosty Mostacho

Without knowing much about the webpage you're accessing, you just can't perform an AJAX request with JavaScript disabled. If changing that doesn't result in success, then you will have to keep debugging, but make sure JavaScript is enabled.

Additionally, make sure you're using HtmlUnit 1.12 and update all the deprecated methods in your code.

BTW, I'd also recommend to turn may JavaScript warnings off. Check this answer to see how you can do that.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!