Fixed capybara issues. Comments in html were not supported