Currently I'm trying to scrape something from a website. For that I need content of an email and so I use yopmail for that (https://yopmail.com). In yopmail you have the mails on the left side on the screen with the mail subject under it. This text is the part I need. [the mail view][1] [the devtools code][2]
The problem now is that this code is not available in the page source. For what I red online it can be caused by javascript generation although, I'm not sure that is exactly the problem
I've tried multiple solutions:
attempt 1: using beautifulSoup and locate the element (failed because not in the page source)
attempt 2: tried locate element with xpath with the selenium driver (also unable to find)
attempt 3: get the inner html of the body (still not available in that html)
driver.find_element_by_tag_name('body').get_attribute('innerHTML')
It feels like nothing works and also the other related posts here dont give me an answer that helps. Is there anyone who can help me with this? [1]: https://i.sstatic.net/vTi0s.png [2]: https://i.sstatic.net/nmBZ8.png