yes watir-webdriver is based of of watir you should have access to all the methods supported by elements
http://pettichord.com/watirtutorial/docs/watir_cheat_sheet/WTR/Methods%20supported%20by%20Element.html On Wed, Oct 12, 2011 at 9:14 PM, Babu <[email protected]> wrote: > 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 <[email protected]> wrote: > > On Oct 12, 12:47 pm, Babu <[email protected]> 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 <[email protected]> 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. > > [email protected] > http://groups.google.com/group/watir-general > [email protected]<http://groups.google.com/group/watir-general%[email protected]> > -- 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]
