Capturing Screen Text of an application and identifying button labels

Hello Community,

I’m having an application which consists of both WPF and HTML screens in it. My requirement is to capture the screen text (Just my application) , identify the button labels and perform a click action on those simple buttons. Is there a way to do so . Any leads would be appreciated.

Thanks.