Appium Android - Screen map of all Elements tree

Hi, I know there is a way to prints the Screen map of all Elements tree.

Can anyone remind me?

Thanks!

driver.getPageSource();

That’s right, that’s exactly what I meant. many thanks!