Hi @Mamitha S
I understand that you want to launch the Edge browser with IE mode using Selenium Java code.
But at present, we can only launch the Edge browser with IE mode using Selenium C# code because some methods that are used in C# are not available in Java.
If you are available to use selenium with C# language then you can refer to this article and this sample code.
If the response is helpful, please click "Accept Answer" and upvote it.
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.
Regards,
Yu Zhou