I had a test case like this:
scenario \"there should be an SVG tag\" do ... page.find(\"svg\") end
For some reason, Capybara co
I have found a solution which enables the use of CSS selectors:
scenario "there should be an SVG tag" do ... Nokogiri::HTML.parse(page.body).css('svg') end
Strange and annoying that it doesn't work out the box using page.find(), though.