Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/SeleniumHQ/selenium
/ dismiss
Method
dismiss
java/src/org/openqa/selenium/Alert.java:21–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
public
interface
Alert {
21
void
dismiss();
22
23
void
accept();
24
Callers
15
testShouldAllowUsersToDismissAnAlertManually
Method · 0.95
testShouldAllowAUserToDismissAPrompt
Method · 0.95
testPromptShouldHaveNullValueIfDismissed
Method · 0.95
shouldFireAlertEvents
Method · 0.95
constructor
Method · 0.65
network_commands_test.js
File · 0.65
until_test.js
File · 0.65
webdriver_test.js
File · 0.65
fedcm_test.js
File · 0.65
closeAlertIfPresent
Method · 0.65
canIgnoreUnhandledAlert
Method · 0.65
canHandleAlertDismissCommand
Method · 0.65
Implementers
3
RemoteAlert
java/src/org/openqa/selenium/remote/Re
Alert
javascript/selenium-webdriver/lib/webd
DecoratedAlertTest
java/test/org/openqa/selenium/support/
Calls
no outgoing calls
Tested by
15
testShouldAllowUsersToDismissAnAlertManually
Method · 0.76
testShouldAllowAUserToDismissAPrompt
Method · 0.76
testPromptShouldHaveNullValueIfDismissed
Method · 0.76
shouldFireAlertEvents
Method · 0.76
closeAlertIfPresent
Method · 0.52
canIgnoreUnhandledAlert
Method · 0.52
canHandleAlertDismissCommand
Method · 0.52
test_expected_condition_alert_is_present
Function · 0.52
test_no_dialog_cancel
Method · 0.52
test_trigger_and_verify_dialog_title
Method · 0.52
test_trigger_and_verify_dialog_subtitle
Method · 0.52
test_trigger_and_verify_dialog_type
Method · 0.52