The site has javascript that generates a list of D&D monsters and will load the monster stats in the page when ever you click on them. Using the Element Click, I have it so that it will step through each item in the list and load the monster stats in the frame next to it. When I hit data preview, I can watch it on the page stepping through each monster.
However, any child selector I create to scrape the stats text (the name for example) doesn't work. It won't allow me to select anything other than the next item in the list.
https://5e.tools/bestiary.html
Sitemap:
{"_id":"stuff_for_5e","startUrl":["https://5e.tools/bestiary.html"],"selectors":[{"id":"link ID","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"li.row:nth-of-type(n+2) a","multiple":true,"delay":"2000","clickElementSelector":"li.row:nth-of-type(n+2) a","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"}]}
As a sidebar, is there anyway to limit the number of iterations for data preview? There's over 1,000 monsters and letting the entire thing run takes about an hour before I can see whether or not my changes are working.