Has anyone used playwright for test automation of desktop applications? Is this really possible as web results seem to indicate that playwright can be used to automate desktop top apps but other than that not finding much on the web on this.
Playwright has limited support for testing desktop applications. According to the Playwright documentation, it supports automating applications based on Electron or Microsoft Edge WebView2. And in the GitHub issue #10927, people are talking automating applications based on the Chromium Embedded Framework (CEF) with mixed success.
At its core, Playwright is using the Chrome DevTools Protocol (CDP) for automating web browsers. So if you have a desktop app that can be automated via CDP, you may be able to test it with Playwright. But if you are planning to test an app built with some other desktop framework (such as WinUI, UWP, WPF, React Native, Qt, etc.), you may want to look into other options.