Is there any way to limit element click to some number? Like I want the scraper to click a maximum of 30 times on the "Show More" button and It should collect data from all elements that load in the first 30 clicks and then it should move on. Moreover, this sitemap doesn't work in a cloud scraper.
Url: https://www.inkitt.com/genres/romance
Sitemap:
{"_id":"inkitt","startUrl":["https://www.inkitt.com/genres/romance"],"selectors":[{"id":"click","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"[data-story-tracking-page='1'] a.storyCard-title","multiple":false,"delay":"100","clickElementSelector":"a.animated","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueCSSSelector"},{"id":"Novel Name","type":"SelectorLink","parentSelectors":["click"],"selector":"parent","multiple":false,"delay":0},{"id":"Author","type":"SelectorLink","parentSelectors":["Novel Name"],"selector":"a[data-cta='Profile Picture']","multiple":true,"delay":0},{"id":"Rating and Reviews","type":"SelectorText","parentSelectors":["Novel Name"],"selector":"dd.rating","multiple":false,"regex":"","delay":0},{"id":"Insta","type":"SelectorLink","parentSelectors":["Author"],"selector":".user-instagram_url a","multiple":false,"delay":0},{"id":"Facebook","type":"SelectorLink","parentSelectors":["Author"],"selector":".user-facebook_url a","multiple":false,"delay":0},{"id":"Twitter","type":"SelectorLink","parentSelectors":["Author"],"selector":".user-twitter_url a","multiple":false,"delay":0},{"id":"Single Link","type":"SelectorLink","parentSelectors":["Author"],"selector":".user-value a","multiple":false,"delay":0},{"id":"Website","type":"SelectorLink","parentSelectors":["Author"],"selector":".user-homepage_url a","multiple":false,"delay":0},{"id":"Author Bio","type":"SelectorText","parentSelectors":["Author"],"selector":"h2.user-description","multiple":false,"regex":"","delay":0},{"id":"Sub Genre","type":"SelectorText","parentSelectors":["Novel Name"],"selector":"dd.genres","multiple":false,"regex":"","delay":0}]}