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 page from some tests with the data-silktide
attribute:
<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
- Readability
See more
- How to add a website
- How to add multiple websites at once
- How to delete a website
- How to check your websites are set up correctly
- How to limit how fast Silktide downloads a website
- How to exclude pages from a website
- How to export tables of results
- How to find your website
- How to retest a single page while you are viewing it
- How to retest specific pages
- How to retest your whole website
- How to search results for specific webpages
- How to search the content of your website
- How to set a website's competitors
- How to set website permissions
- How to set when your website is automatically retested
- How to specify languages used by a website
- How to specify what pages are in a website when you create it
- How to test password-protected websites