lib/capybara/validate_html5.rb
def skip_html_validation
      skip = @skip_html_validation
      @skip_html_validation = true
      yield
    ensure
      @skip_html_validation = skip
    end
# Skip HTML validation inside the block.
Skip HTML validation inside the block.
Skip HTML validation inside the block .
def skip_html_validation
      skip = @skip_html_validation
      @skip_html_validation = true
      yield
    ensure
      @skip_html_validation = skip
    end
def skip_html_validation skip = @skip_html_validation @skip_html_validation = true yield ensure @skip_html_validation = skip end
Skip HTML validation inside the block.
Skip HTML validation inside the block .