📅  最后修改于: 2022-03-11 15:00:25.293000             🧑  作者: Mango
void dismiss()-> clicks on the “Cancel” button
as soon as the pop-up window appears.
• void accept()-> clicks on the “Ok” button
as soon as the pop-up window appears.
• String getText()-> returns the text displayed on the alert box.
• void sendKeys(String stringToSend) -> enters the specified
string pattern into the alert box.