i was wrong..
i mean to say require 'watir'
if i don't use this then i can't get all the HTML tags
so f i use
require 'rubygems'
require 'watir-webdriver'
browser = Watir::Browser.new :firefox

then can i get all links/all tags from the web page?
thanks
Suvo





On Oct 12, 5:23 pm, Chuck van der Linden <sqa...@gmail.com> wrote:
> On Oct 12, 12:47 pm, Babu <suvodasgu...@gmail.com> wrote:
>
> > but if i not include watir then how ican get all html tags value from
> > the firefox webpage?
>
> > On Oct 12, 1:52 pm, Chuck van der Linden <sqa...@gmail.com> wrote:
>
> Include isn't doing what you think it is.
> read this:http://wiki.openqa.org/display/WTR/include+Watir
>
> If you are using watir-webdriver, it has all the functionality you
> need, and since many of the methods and objects etc have the same
> name, it's just going to hopelessly confuse your poor system if you
> try to use both at the same time inside your scripts.  (ok I know
> that's maybe not technically accurate, but it's an easy way of trying
> to explain why what he's trying to do is 'a bad thing' )

-- 
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