Introduction
There are 3 types of alert such as - Simple alert, Prompt alert, and confitmation alert.
To handle them we are having different methods in selenium such as -
- accept,
- dismiss,
- sendKeys,
- getText,
- wait.
📄 Also Read: Selenium Commands every Developer or Tester must know