On Tue, Sep 28, 2010 at 4:09 PM, Mark Winteringham <
[email protected]> wrote:
> I just wanted to find out if Watir handles <ol> tags

Looks like Watir does not support it:

http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir

But, Watir has xpath support, so you could access ol tags that way:

http://wiki.openqa.org/display/WTR/XPath

Watir 1.6.6 RC1 has support for generic element:

browser.element(how => what)

http://watir.com/2010/09/27/watir-1-6-6-rc1-is-out/

Did you try browser.ol(how, what)? Maybe it works. :)

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

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

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to