We are trying to use selenium with C# to write some unit test. One scenario is that if we are trying to save opportunity button it gives some notification message.

 If it throws one error as notification then we are able to capture it through DOM element

But if throws multiple errors then they are not visible in DOM and unable to find from Selenium. If you see the below screen. Any idea of how we can capture it through selenium. We are using Dynamics 365