I have resolved the problem.
ie.li(:text."q").text

On 6月29日, 上午11时50分, Jasmine <nicely...@hotmail.com> wrote:
> ie.li(:text,"q").click .the satement can get the value,but "click" is
> not right.I need click the name
> On 6月29日, 上午11时35分, Jasmine <nicely...@hotmail.com> wrote:
>
>
>
> > How to get the value of the li tag?
> > There are code about the question
> > <div class="dy_bgg">
> > <ul>
> > <li v="12" style="cursor: pointer;"class="dy_bgg">q</li>
> > <li v="13" style="cursor: pointer;"class="dy_bgg">t</li>
> > I want to get "q" or "t",there is only data if use
> > ie.li(:class,"dy_bgg"),I need to  get the value and click it- 隐藏被引用文字 -
>
> - 显示引用的文字 -

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to