Restrict query to an element container

Hi,

its possible to restrict a query to inside a specific container.

For example I want to see whats the last text I have on a chat. My problem is that there are TextView after and before that container that aren’t fix.

So I would want to be able to do last_text command on a some element identified earlier or in a specific xpath. Is it possible?