Really weird, yesterday, when i run
puts $ie.frame(:id, "mce_editor_0").document.body.innerHtml
I can get the html as expected, but today, I run the same script, I get the
error message as below:
`method_missing': document (WIN32OLERuntimeError)
    OLE error code:80070005 in <Unknown>
      Access is denied.

    HRESULT error code:0x80020009
      Exception occurred.    from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/frame.rb:52:in `document'

What's the problem?
If I can't use frame( ). document.body.innerHtml to put the content in the
frame out, How can I make it use other method?

Any suggestion would appreciated.

Wesley Chen.

You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to