Method: Akephalos::Page#source

Defined in:
lib/akephalos/page.rb

#sourceString

Return the page’s source as returned by the web server.

Returns:

  • (String)

    the page’s original source



32
33
34
# File 'lib/akephalos/page.rb', line 32

def source
  current_frame.getWebResponse.getContentAsString
end