Module: Capybara::Vue::DSL

Includes:
DSL
Defined in:
lib/capybara/vue/dsl.rb

Instance Method Summary collapse

Instance Method Details

#pageObject



12
13
14
15
# File 'lib/capybara/vue/dsl.rb', line 12

def page
  wait_until_vue_ready
  Capybara.current_session
end

#wait_until_vue_readyObject



17
18
19
# File 'lib/capybara/vue/dsl.rb', line 17

def wait_until_vue_ready
  Waiter.new(Capybara.current_session).wait_until_ready
end