Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SeleniumHQ/selenium
/ getText
Method
getText
java/src/org/openqa/selenium/Alert.java:25–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
void
accept();
24
25
String getText();
26
27
void
sendKeys(String keysToSend);
28
}
Callers
15
handleFormWithJavascriptAction
Method · 0.95
testShouldAllowTheUserToGetTheTextOfAnAlert
Method · 0.95
testShouldAllowTheUserToGetTheTextOfAPrompt
Method · 0.95
testShouldHandleAlertOnPageLoad
Method · 0.95
testShouldHandleAlertOnPageLoadUsingGet
Method · 0.95
shouldHandleAlertOnFormSubmit
Method · 0.95
canHandleSwitchToAlertCommand
Method · 0.95
selectByVisibleText
Method · 0.65
constructor
Method · 0.65
elementTextIs
Function · 0.65
elementTextContains
Function · 0.65
elementTextMatches
Function · 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
handleFormWithJavascriptAction
Method · 0.76
testShouldAllowTheUserToGetTheTextOfAnAlert
Method · 0.76
testShouldAllowTheUserToGetTheTextOfAPrompt
Method · 0.76
testShouldHandleAlertOnPageLoad
Method · 0.76
testShouldHandleAlertOnPageLoadUsingGet
Method · 0.76
shouldHandleAlertOnFormSubmit
Method · 0.76
canHandleSwitchToAlertCommand
Method · 0.76
testShouldFireEventsInTheRightOrder
Method · 0.52
testsShouldIssueMouseDownEvents
Method · 0.52
testShouldEmitOnChangeEventsWhenSelectingElements
Method · 0.52
testShouldEmitOnClickEventsWhenSelectingElements
Method · 0.52
getTextFromElementOnceAvailable
Method · 0.52