From: Mike Hin Date: 2009-11-07T04:54:20+09:00 Subject: Re: accessing the element of a span Oh wow, thats what I get for posting at 3am. I am using Watir and ie is the browser being driven. sorry. Jesús Gabriel y Galán wrote: > On Fri, Nov 6, 2009 at 11:43 AM, Mike Hin > wrote: >> disabled: � � false >> class: � � � �SSSBUTTON_CONFIRMLINK >> text: � � � � Start a New Search >> >> Anyone know how to accomplish this? I haven't been able to figure out >> the command to return the class name of a span. I know ie.spans[x].text >> will return the inner text but I don't know the code for any of the >> other attributes. i tried using :class also to no avail. > > What is "ie"? You don't specify which libraries you are using. Unless > you give a little bit more detail it's difficult to help. > > Jesus. -- Posted via http://www.ruby-forum.com/.