Scraper crashes after a few seconds

I have a scraper set up to read a table and then open every possible modal in the table, read its data, and then close. When running the scrape, it works perfectly but crashes quickly. I can manually open modals very quickly without getting limited, so not sure if that's the problem. Any help would be appreciated!

[Update]: I tried running it on the home page (woosurf.com) and it has similar problems. The problem usually occurs after a few modals have been opened. I believe the pattern is: all the modals on the first row work, but for some reason, it skips rows to the first row that has a twitter icon, opens that modal, and fails. if there is no row with a twitter icon, it ends. This is not a perfect description but fairly accurate of what happens.

Url: WooSurf | College Influencer Database (you should be able to see an example of the modals on the landing page where it shows two random rows from the master table)

Sitemap:
{"_id":"woosurf","startUrl":["https://woosurf.com/influencers"],"selectors":[{"id":"influencer card","parentSelectors":["_root"],"type":"SelectorElement","selector":"li.people-list-item","multiple":true,"delay":0},{"id":"Full Name","parentSelectors":["influencer card"],"type":"SelectorText","selector":".persone-name span:nth-of-type(1)","multiple":false,"delay":0,"regex":""},{"id":"Graduation Year","parentSelectors":["influencer card"],"type":"SelectorText","selector":"span.filter-tag-year","multiple":false,"delay":0,"regex":""},{"id":"School Name","parentSelectors":["influencer card"],"type":"SelectorText","selector":"div.persone-school-name","multiple":false,"delay":0,"regex":""},{"id":"Total Followers","parentSelectors":["influencer card"],"type":"SelectorText","selector":"div.persone-total-followers","multiple":false,"delay":0,"regex":""},{"id":"Tags","parentSelectors":["influencer card"],"type":"SelectorElement","selector":"div.filter-tags","multiple":true,"delay":0},{"id":"Tag","parentSelectors":["Tags"],"type":"SelectorText","selector":"span","multiple":false,"delay":0,"regex":""},{"id":"social modals","parentSelectors":["_root"],"type":"SelectorElementClick","clickElementSelector":".social-item-icon img","clickElementUniquenessType":"uniqueHTML","clickType":"clickOnce","delay":2000,"discardInitialElements":"discard","multiple":true,"selector":"div.mw-content"},{"id":"Channel + Followers","parentSelectors":["social modals"],"type":"SelectorText","selector":"p.persone-social","multiple":false,"delay":0,"regex":""},{"id":"Influencer Name","parentSelectors":["social modals"],"type":"SelectorText","selector":"p.persone-name","multiple":false,"delay":0,"regex":""},{"id":"Username","parentSelectors":["social modals"],"type":"SelectorText","selector":"div.copy-username","multiple":false,"delay":0,"regex":""},{"id":"x button","parentSelectors":["social modals"],"type":"SelectorElementClick","clickElementSelector":"span","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":0,"discardInitialElements":"do-not-discard","multiple":false,"selector":"span"}]}

@joey Hi, try changing the 'Click element uniqueness' to - Unique CSS Selector and the 'Discard initial elements' to - Discard initial elements.

Example:

{"_id":"woosurf","startUrl":["https://woosurf.com/influencers"],"selectors":[{"clickElementSelector":".social-item-icon img","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":2000,"discardInitialElements":"discard-when-click-element-exists","id":"social modals","multiple":true,"parentSelectors":["_root"],"selector":"div.mw-content","type":"SelectorElementClick"},{"delay":0,"id":"Channel + Followers","multiple":false,"parentSelectors":["social modals"],"regex":"","selector":"p.persone-social","type":"SelectorText"},{"delay":0,"id":"Influencer Name","multiple":false,"parentSelectors":["social modals"],"regex":"","selector":"p.persone-name","type":"SelectorText"},{"delay":0,"id":"Username","multiple":false,"parentSelectors":["social modals"],"regex":"","selector":"div.copy-username","type":"SelectorText"},{"clickElementSelector":"span","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":0,"discardInitialElements":"do-not-discard","id":"x button","multiple":false,"parentSelectors":["social modals"],"selector":"span","type":"SelectorElementClick"}]}