module Document
Helpers for working with the document.
Definitions
def document_title
Get the current document title.
Signature
-
returns
String
The document title.
Implementation
def document_title
session.get("title")
end
def document_source
Get the current document source.
Signature
-
returns
String
The document source.
Implementation
def document_source
session.get("source")
end