Hello @Gupta, Gaurav01,
Welcome to Microsoft Q&A forum.
Visual Studio 2022 doesn’t support Windows Enterprise IoT, Visual Studio 2019 supports Windows 10 IoT Enterprise. I think you can still use Visual Studio 2019.
Here’s some information for you to refer to:
Visual Studio 2022 System Requirements
The following are not supported: … Windows Enterprise IoT… You may use Visual Studio 2022 to build apps that run on these editions of Windows.
Visual Studio 2019 Support for Windows Development

Visual Studio 2019 Preview Support
WinAppDriver will be supported on VS2019 just as it is supported on the current Visual Studio…
Some other information:
Windows Application Driver
This service supports testing …. on Windows 10 PCs.
Installing WinAppDriver on Windows 10 IoT Core
It works on Windows 10 IoT Enterprise, not IoT core.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.