BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

feature request: selctor-based link crawling

Open garris opened this issue 10 years ago • 2 comments

A "crawlSelectors": [] property will be added to each scenario in the backstop.json config file. For each matching crawlSelector, a collection of matching elements will be returned. For each matching element, the original URL will be reloaded and the current element index will receive a click event. The resulting page or state will be loaded and tested inheriting all the test properties (except crawlSelctors) from the parent scenario.

This would enable rudimentary testing of various page links, pop-up and control states.

garris avatar Sep 22 '15 05:09 garris

are there any new updates on this topic? or should https://github.com/fffunction/backstop-crawl be used?

parzerphilipp avatar Aug 11 '25 10:08 parzerphilipp

This never happened. Probably best done with external solution.

garris avatar Aug 11 '25 16:08 garris