fffunction / backstop-crawl

🕷 Crawls a site to generate a backstopjs config file with scenarios pre-populated
38 stars 18 forks source link

maxDepth #13

Open danreeves opened 7 years ago

danreeves commented 7 years ago

@urlsangel added maxDepth in 529cd77e39cd61efb6cb4b6cfd099a38bc28360b but I later removed it when I realised it is kinda hard to explain what it does and I don't think it's particularly helpful.

Do we need it or will it be solved by #5 ?

FWIW it doesn't limit URI path depth but distance from the initial page

aaronbauman commented 4 years ago

Came to the issue queue to look for this specific feature request. Would maintainers re-consider this feature?

Limiting distance from initial page is exactly what i need. FWIW, "level" or "depth" is the same terminology used by e.g. wget to specify the same. https://www.gnu.org/software/wget/manual/html_node/Recursive-Retrieval-Options.html

danreeves commented 4 years ago

Sure. It should be trivial to add it back in. I'll re-open the ticket and try to fit it in. PRs welcome!