What is a modal dialog box and how to handle it in Selenium?
A modal dialog box is a small window that appears on top of the main window. This type of window is mostly used when the user needs to make a decision. The advantage of using a modal dialog box is that the user will not be able to do anything else until he/she has made a decision and clicked on one of the buttons inside the dialog box.
To know more about Modal box and handling Modal Dialog Box In Selenium WebDriver Java, you can go through the following article: