You can use the `content` method to return the value of the content attribute:
p browser.meta.content #=> "this is variable" Justin On Tuesday, December 16, 2014 11:41:23 AM UTC-5, christina wrote: > > Hi, > > <meta name="description" content="this is variable"> > > Hi Please can one help me an tell how can I read the "Content" > > for meta tag. > > > I have to check many websites and check that the seo has a specific value. > > Kind regards, > Cristina > -- -- 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] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
