[ 
http://jira.openqa.org/browse/WTR-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zeljko closed WTR-388.
----------------------

    Resolution: Won't Fix

If this is still a problem, please report it here: 
https://github.com/watir/watir-classic/issues

> Enable reading body attributes in Firewatir, as in Watir
> --------------------------------------------------------
>
>                 Key: WTR-388
>                 URL: http://jira.openqa.org/browse/WTR-388
>             Project: Watir
>          Issue Type: Bug
>          Components: FireWatir
>    Affects Versions: Open QA Migration
>         Environment: any
>            Reporter: Zeljko
>
> - moved from http://code.google.com/p/firewatir/issues/detail?id=56
> Issue 56:     Enable reading body attributes in Firewatir, as in Watir
> 2 people starred this issue and may be notified of changes.
> Status:       Started
> Owner:        angrez
> Type-Defect
> Priority-Medium
> Milestone-Release1.1.2
> Reported by jeff.fry, Nov 27, 2007
> In Watir, I can read the attributes on a body tag like so:
> irb(main):003:0> br.goto('http://sandbox.freebase.com/view/defenestration' )
> => 2.753
> irb(main):005:0> br.document.body.getAttribute('mwloaded')
> => "true"
> When I try the same in Firewatir, I get:
> irb(main):004:0> br.goto('http://sandbox.freebase.com/view/defenestration')
> => "http://sandbox.freebase.com/view/defenestration "
> irb(main):006:0> br.document.body.getAttribute('mwloaded')
> NoMethodError: undefined method `body' for #<Document:0x2e274ec>
>         from (irb):6
> I would love it if document.body.getAttribute implemented could be
> implemented in Firewatir.
> Thanks!
> ---
> Comment 1 by angrez, Apr 08, 2008
> (No comment was entered for this change.)
> Status: Started
> Owner: angrez
> Labels: Milestone-Release1.1.2

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to