From: Raj R. <raj...@gm...> - 2014-03-13 12:39:53
|
currentPage.getElementById("otpMobilePassword").getPreviousSibling() ?? On Thu, Mar 13, 2014 at 7:28 AM, Vasudevan Comandur <vco...@gm...>wrote: > Hi, > > I would like to know how to get the Label Text associated with a > HTMLInput > field where type=text in HTMLUnit > > I am copying below a snippet from an HTML page > > <label>Password:</label> > <input type="text" id="otpMobilePassword" name="otpMobilePassword"> > <br/> > > Regards > Vasu > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |