From: Ahmed A. <asa...@ya...> - 2014-12-12 13:48:55
|
Hi, You need to know which elements are there, usually I use page.asXml(), or you can 'inspect element' in real browsers. Once you know the element ID/xpath, then you can manipulate it. (htmlPage.getElementById() or .getByXPath()). Ahmed From: hai <mah...@es...> To: htm...@li... Sent: Friday, December 12, 2014 12:59 PM Subject: [Htmlunit-user] Dialog Box Hi, Can you explain me how to handle dialog box using html unit. When i am clicking button ,dialog box is coming. I need to handle and read the contents . Is it possible using htmlunit. |