public class BrowserPopUps extends Object
| Constructor and Description |
|---|
BrowserPopUps(Browser browser) |
| Modifier and Type | Method and Description |
|---|---|
JsAlert |
getAlert()
Gets the JsAlert box displayed on page
|
JsConfirmation |
getConfirmation()
Gets the JsConfirmation box displayed on page
|
JsPrompt |
getPrompt()
Gets the JsPrompt box displayed on page
|
boolean |
hasPopUp()
Checks if on the current window a pop up box is displayed.
|
public BrowserPopUps(Browser browser)
public boolean hasPopUp()
public JsAlert getAlert()
NoPopUpFoundException - if no alert is displayedpublic JsConfirmation getConfirmation()
NoPopUpFoundException - if no alert is displayedpublic JsPrompt getPrompt()
NoPopUpFoundException - if no alert is displayedCopyright © 2020. All rights reserved.