`selectorExpansion` or `enableSelectorExpansion`?
See original GitHub issueHi, I’m trying to get BackstopJS to take screenshots of a bunch of selectors on the same page, all with the same classname.
Looking at the documentation, I should use "selectorExpansion": true
, and then the selectors. But when this didn’t work for me, I checked for issues related to this and found this PR where the feature is added. The code for that is "enableSelectorExpansion": true
.
Which is the correct one to use? I’ve tried both but neither of them seem to work for me. I’m using version 2.1.3
, so I wanted to check – is this feature still in progress?
For reference, I’m expecting this:
"selectorExpansion": true,
"selectors": [
".styleguide .pattern"
]
to give me individual screenshots of all the elements with a class of .pattern
. Let me know if I’ve misunderstood this feature.
Thanks for all your work on this 😄
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (10 by maintainers)
Top GitHub Comments
Wow – great find!!! I will patch this as soon as I can – hopefully today! Thanks for doing that detective work!
Nice! Thanks for beta-using – really helps to get that insight. Cheers.
Closing ticket – feel free to reopen if needed.