[wtr-general] Re: cant get an element

2010-07-27 Thread ryanthescot
ot;wpFieldValue") return my_p.text On Jul 20, 7:16 pm, George wrote: > It looks like it's wrapped in a tag, which should be accessible > via Watir: > > puts @browser.p(:class, "wpFieldValue").text > > This has worked for me in the past. &

[wtr-general] cant get an element

2010-07-15 Thread ryanthescot
Bishop I am trying to get the value 'Bishop' from this HTML to use in an if statement, but I cant find a way of getting the element. Can someone advise how i might do so? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this me