Method: Ferrum::Frame#set_content
- Defined in:
- lib/ferrum/frame.rb
#set_content(html) ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'lib/ferrum/frame.rb', line 37 def set_content(html) evaluate_async(%( document.open(); document.write(arguments[0]); document.close(); arguments[1](true); ), @page.timeout, html) end |