Class: Watir::IFrame

Inherits:
HTMLElement
  • Object
show all
Defined in:
lib/extensions/watir/iframe.rb

Instance Method Summary collapse

Instance Method Details

#text!String

Uses Nokogiri to return the text of iframe body.

Returns:

  • (String)


9
10
11
# File 'lib/extensions/watir/iframe.rb', line 9

def text!
  body.text!
end