I have tried some functions in playwright js, such as innerText, textContent.
What I got is the plain text instead of the text in the text area.
I tried to find these innertext in browser inspect, and I cannot find any...
The following is the js code and the screenshot of my problem.
console.log(await page.locator("(//div[@class='p-card p-component'])[1]").innerText())
Can anyone provide me with some inspirations? I've nearly found every ways but none of them can solve my problem.