How do I click a javascript button with htmlunit?

前端 未结 3 1239
孤街浪徒
孤街浪徒 2020-12-19 22:46

I\'m working on an application that will automatically click a button on a webpage using htmlunit in Java. Only problem is that that button is a javascript button, so the st

3条回答
  •  被撕碎了的回忆
    2020-12-19 23:19

    Try using this addOn for firefox, it records your actions and generates the HTMLUnit code for the same. may be it could help. http://code.google.com/p/htmlunitscripter/

提交回复
热议问题