Scraping popup data after "Element Click"

I am trying to scrape details of a page which requires element click. But when the "popup" appears, and I try to then select the content of the popup to scrap, I get "Parent does not contain selected element". Apologies if this is a basic question, I'm new to this tool and working my way through tutorials but don't find this issue addressed.



This structure works on a single "details" button, but I can't figure out how to insert the text scrape into the parent "click" because it doesn't recognize the popup as an element of the "click".

did you ever find an answer to this problem? i have the same one...