One selector - multiple elements
Open
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to use one selector, ex: `.container` to target and get screenshots of all matching elements?
I have created a styleguide and would like to use BackstopJS to test all the different items. They are all wrapped in a ".container". Hope there is a simpler way than to write:
`.container:nth-of-type(1)`,
`.container:nth-of-type(2)`,
`.container:nth-of-type(3)`,
`...`
`.container:nth-of-type(42)`,
Contributor guide
Assessment
This issue has not been assessed yet.