How to exclude a region of a page from being tested
Sometimes part of your pages will contain code that you do not want to test. For example, you might include user-generated content on parts of your page that you don’t want to spell check.
You can optionally exclude regions of a page from some tests with the
<div data-silktide="ignore"> ... </div>
This works for any tag, not just
<div>. So you can ignore links, images, and so on. All tags inside an ignored tag are also ignored.
Not every test currently supports this feature. The following tests support it currently:
- Spell checking
- Grammar checking
- Broken links