[Wtr-general] How to access link in table cell?

2006-10-25 Thread Christian Baumann
Hello! I have html-code like the following: === snip === tda href=http://www.happy.com/test.hmtl;text/a/td === snap === Now my question: I want to get the value of the href-attribute within this table-cell for further using. Any ideas/ suggestions how to get this? Thanks in advance, Christian

Re: [Wtr-general] How to access link in table cell?

2006-10-25 Thread Ċ½eljko Filipin
ie.link(:text, text).hrefZeljko-- http://zeljkofilipin.com/ ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to access link in table cell?

2006-10-25 Thread Charley Baker
Hey Christian, Try something along these lines: irb(main):019:0 require 'watir' irb(main):019:0 include Watir irb(main):019:0 ie = IE.start('http://www.google.com') = #Watir::IE:0x2f2c480 # Get the table cell, pull the first link's href, there are a few links in this cell irb(main):020:0

Re: [Wtr-general] How to access link in table cell?

2006-10-25 Thread Christian Baumann
Hello Charley, thanks, that works fine. Kind Regards, Christian Charley Baker schrieb: Hey Christian, Try something along these lines: irb(main):019:0 require 'watir' irb(main):019:0 include Watir irb(main):019:0 ie = IE.start('http://www.google.com') = #Watir::IE:0x2f2c480 #