You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation in [selector_assertions.rb](https://github.com/rails/rails-dom-testing/blob/master/lib/rails/dom/testing/assertions/selector_assertions.rb) goes into a lot more detail of how selector assertions can be used.
35
35
36
+
### HTML versions
37
+
38
+
By default, assertions will use Nokogiri's HTML4 parser.
39
+
40
+
If `Rails::Dom::Testing.default_html_version` is set to `:html5`, then the assertions will use
41
+
Nokogiri's HTML5 parser. (If the HTML5 parser is not available on your platform, then a
42
+
`NotImplementedError` will be raised.)
43
+
44
+
When testing in a Rails application, the parser default can also be set by setting
0 commit comments