Capybara::Session
Constructors
Class methods
Click via JS, then wait a bounded moment for a navigation to start (path change) and for the document to settle. Buttons that only run JS (no navigation) fall through after the settle window.
Instance methods
base_url
Capybara.app_host analog: visit("/foo") resolves against it.
base_url=(base_url : String)
Capybara.app_host analog: visit("/foo") resolves against it.
click_link "Go next" / click_link "next-link"
current_path
current_url
driver
fill_in "Name", with: "Crystal" — by label text (label[for]), field id, name or placeholder, like the gem's field selector.
title