Class: Capybara::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/sandwich/ext/capybara.rb

Instance Method Summary collapse

Instance Method Details

#current_pathObject



3
4
5
# File 'lib/sandwich/ext/capybara.rb', line 3

def current_path
  URI.parse(current_url).path
end