Unable to find xpath "/html" (Capybara::ElementNotFound)

时间:2016-04-07 10:43:23

标签: ruby-on-rails cucumber capybara

I was implementing capybara for a app flow. I have features/step_definitions/anonymous_booking_steps.rb with two steps

  • for just visiting the root path
  • expecting an element in next step for the above page

I am getting this error:-

Unable to find xpath "/html" (Capybara::ElementNotFound)

0 个答案:

没有答案