In your case, disabled link is not a link with disabled property (<a href="
page.htm" disabled="disabled">link text</a>), it is a table cell (<td>cell
text</td>).

This will tell you that "Step 1. Details" is link, not in table cell.

irb(main):025:0> ie.link(:text, "Step 1. Details").exists?
=> true
irb(main):026:0> ie.cell(:text, "Step 1. Details").exists?
=> false

This will tell you that "Step 2. Inventors" is in table cell, not link.

irb(main):023:0> ie.link(:text, "Step 2. Inventors").exists?
=> false
irb(main):024:0> ie.cell(:text, "Step 2. Inventors").exists?
=> true

You should take a look at http://w3schools.com/html/default.asp, it is good
html tutorial.
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to