Top Level Namespace

Defined Under Namespace

Modules: Akephalos, HtmlUnit Classes: NativeException

Instance Method Summary collapse

Instance Method Details

#sessionObject Also known as: page

Begin a new Capybara session, by default connecting to localhost on port 3000.



3
4
5
6
# File 'lib/akephalos/console.rb', line 3

def session
  Capybara.app_host ||= "http://localhost:3000"
  @session ||= Capybara::Session.new(:Akephalos)
end