Element click not working on this page

I am new to web scraper. However, I have had a lot of luck with other sites even though I am a beginner. This one site seems to be using a a javascript call to show the actual email address after clicking on "Email." However, using the method of Element click, and then a selector inside that click selector, is not getting the email address for me. Any idea what I am doing wrong? Thanks you

https://www.austincollege.edu/victoria-cummins/

Sitemap:
{"_id":"austinfac","startUrl":["https://www.austincollege.edu/academics/majors-and-minors/history/"],"selectors":[{"id":"peepz","type":"SelectorLink","parentSelectors":["_root"],"selector":"div.fl-col-group.fl-node-5b58cbda30451 strong a","multiple":true,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["peepz"],"selector":"h1.entry-title","multiple":false,"regex":"","delay":0},{"id":"onclick","type":"SelectorElementClick","parentSelectors":["peepz"],"selector":"dd a","multiple":false,"delay":0,"clickElementSelector":"","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueHTMLText"},{"id":"email","type":"SelectorLink","parentSelectors":["onclick"],"selector":"dd a","multiple":false,"delay":0}]}

{"_id":"austinfac","startUrl":["https://www.austincollege.edu/academics/majors-and-minors/history/"],"selectors":[{"id":"peepz","type":"SelectorLink","parentSelectors":["_root"],"selector":"div.fl-col-group.fl-node-5b58cbda30451 strong a","multiple":true,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["peepz"],"selector":"h1.entry-title","multiple":false,"regex":"","delay":0},{"id":"onclick","type":"SelectorElementClick","parentSelectors":["peepz"],"selector":"div.entry-content","multiple":false,"delay":"1000","clickElementSelector":"dd a","clickType":"clickMore","discardInitialElements":true,"clickElementUniquenessType":"uniqueText"},{"id":"email","type":"SelectorText","parentSelectors":["onclick"],"selector":"dd a","multiple":false,"regex":"","delay":0}]}

this should work but the only problem is that it tries to open about whatever program is linked to mailing.

2 Likes

Thanks you so much for the solution! Can you tell me why you configured the onclick selector in the way you did? I want to learn more. Repeated thanks!