Skip navigation links
$ A B C D E F G H I J L M N O P Q R S T U V W Z 

$

$(WebElement) - Static method in class com.codeborne.selenide.Selenide
Wrap standard Selenium WebElement into SelenideElement to use additional methods like shouldHave(), selectOption() etc.
$(String) - Static method in class com.codeborne.selenide.Selenide
Find the first element matching given CSS selector
$(By) - Static method in class com.codeborne.selenide.Selenide
Find the first element matching given CSS selector
$(By, int) - Static method in class com.codeborne.selenide.Selenide
 
$(WebElement, String) - Static method in class com.codeborne.selenide.Selenide
Find the first element matching given CSS selector
$(String, int) - Static method in class com.codeborne.selenide.Selenide
Find the Nth element matching given criteria
$(WebElement, String, int) - Static method in class com.codeborne.selenide.Selenide
Find the Nth element matching given criteria
$(WebElement, By) - Static method in class com.codeborne.selenide.Selenide
 
$(WebElement, By, int) - Static method in class com.codeborne.selenide.Selenide
 
$(String) - Method in interface com.codeborne.selenide.SelenideElement
 
$(String, int) - Method in interface com.codeborne.selenide.SelenideElement
com.codeborne.selenide.SelenideElement#find(java.lang.String)
$(By) - Method in interface com.codeborne.selenide.SelenideElement
com.codeborne.selenide.SelenideElement#find(java.lang.String)
$(By, int) - Method in interface com.codeborne.selenide.SelenideElement
com.codeborne.selenide.SelenideElement#find(java.lang.String)
$$(Collection<? extends WebElement>) - Static method in class com.codeborne.selenide.Selenide
 
$$(String) - Static method in class com.codeborne.selenide.Selenide
Find all elements matching given CSS selector.
$$(By) - Static method in class com.codeborne.selenide.Selenide
Find all elements matching given CSS selector.
$$(WebElement, String) - Static method in class com.codeborne.selenide.Selenide
Find all elements matching given CSS selector inside given parent element Methods returns an ElementsCollection which is a list of WebElement objects that can be iterated, and at the same time is implementation of WebElement interface, meaning that you can call methods .sendKeys(), click() etc.
$$(WebElement, By) - Static method in class com.codeborne.selenide.Selenide
Find all elements matching given criteria inside given parent element
$$(String) - Method in interface com.codeborne.selenide.SelenideElement
com.codeborne.selenide.SelenideElement#findAll(java.lang.String)
$$(By) - Method in interface com.codeborne.selenide.SelenideElement
com.codeborne.selenide.SelenideElement#findAll(java.lang.String)

A

absoluteUrl(String) - Method in class com.codeborne.selenide.impl.Navigator
 
actions() - Static method in class com.codeborne.selenide.Selenide
With this method you can use Selenium Actions like described in the AdvancedUserInteractions page.
activeElement() - Method in class com.codeborne.selenide.SelenideTargetLocator
 
actualValue(WebElement) - Method in class com.codeborne.selenide.Condition
If element didn't match the condition, returns the actual value of element.
actualValue(Condition, WebElement) - Static method in class com.codeborne.selenide.ex.ErrorMessages
 
add(SelenideElement) - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
 
addListener(LogEventListener) - Static method in class com.codeborne.selenide.impl.SelenideLogger
 
addListener(WebDriverEventListener) - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
addListener(WebDriverEventListener) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
addListener(WebDriverEventListener) - Static method in class com.codeborne.selenide.WebDriverRunner
Use this method BEFORE opening a browser to add custom event listeners to webdriver.
addListeners(WebDriver) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
addToHistory(File) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
after() - Method in class com.codeborne.selenide.junit.BrowserStrategy
 
after() - Method in class com.codeborne.selenide.junit.SoftAsserts
 
alert() - Method in class com.codeborne.selenide.SelenideTargetLocator
 
ALL_WEB_DRIVERS_THREADS - Variable in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
allScreenshots - Variable in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
and(String, Condition...) - Static method in class com.codeborne.selenide.Condition
Check if element matches ALL given conditions.
appear - Static variable in class com.codeborne.selenide.Condition
Synonym for Condition.visible - may be used for better readability
appears - Static variable in class com.codeborne.selenide.Condition
Synonym for Condition.visible - may be used for better readability
append(String) - Method in interface com.codeborne.selenide.SelenideElement
Append given test to the text field and trigger "change" event.
apply(List<WebElement>) - Method in class com.codeborne.selenide.collections.ExactTexts
 
apply(List<WebElement>) - Method in class com.codeborne.selenide.collections.ListSize
 
apply(List<WebElement>) - Method in class com.codeborne.selenide.collections.Texts
 
apply(WebElement) - Method in class com.codeborne.selenide.Condition
Check if given element matches this condition.
apply(WebElement) - Method in class com.codeborne.selenide.conditions.Text
 
apply(Statement, Description) - Method in class com.codeborne.selenide.junit.SoftAsserts
 
applyNull() - Method in class com.codeborne.selenide.Condition
 
assertionMode - Static variable in class com.codeborne.selenide.Configuration
 
assertNoJavascriptErrors() - Static method in class com.codeborne.selenide.Selenide
Check if there is not JS errors on the page
attr(String) - Method in interface com.codeborne.selenide.SelenideElement
Get the attribute of the element.
attribute(String) - Static method in class com.codeborne.selenide.Condition
Check if element has given attribute (with any value)
attribute(String, String) - Static method in class com.codeborne.selenide.Condition
Sample: $("#mydiv").shouldHave(attribute("fileId", "12345"));

B

back() - Method in class com.codeborne.selenide.impl.Navigator
 
back() - Static method in class com.codeborne.selenide.Selenide
Navigate browser back to previous page
baseUrl - Static variable in class com.codeborne.selenide.Configuration
 
be(Condition) - Static method in class com.codeborne.selenide.Condition
 
because(String) - Method in class com.codeborne.selenide.Condition
 
before() - Method in class com.codeborne.selenide.junit.SoftAsserts
 
beginStep(String, String, Object...) - Static method in class com.codeborne.selenide.impl.SelenideLogger
 
beginStep(String, String) - Static method in class com.codeborne.selenide.impl.SelenideLogger
 
browser - Static variable in class com.codeborne.selenide.Configuration
Which browser to use.
BrowserPerClass - Class in com.codeborne.selenide.testng
Annotate your test class with @Listeners({ BrowserPerClass.class})
BrowserPerClass() - Constructor for class com.codeborne.selenide.testng.BrowserPerClass
 
BrowserPerTest - Class in com.codeborne.selenide.testng
Annotate your test class with @Listeners({ BrowserPerTest.class})
BrowserPerTest() - Constructor for class com.codeborne.selenide.testng.BrowserPerTest
 
BrowserStrategy - Class in com.codeborne.selenide.junit
Usage:
BrowserStrategy() - Constructor for class com.codeborne.selenide.junit.BrowserStrategy
 
by(String, String) - Static method in class com.codeborne.selenide.Selectors
Synonym for #byAttribute Seems to work incorrectly in HtmlUnit and PhantomJS if attribute name contains dash (e.g.
byAttribute(String, String) - Static method in class com.codeborne.selenide.Selectors
Find elements having attribute with given value.
BySelectorCollection - Class in com.codeborne.selenide.impl
 
BySelectorCollection(By) - Constructor for class com.codeborne.selenide.impl.BySelectorCollection
 
BySelectorCollection(SearchContext, By) - Constructor for class com.codeborne.selenide.impl.BySelectorCollection
 
byText(String) - Static method in class com.codeborne.selenide.Selectors
Find element that has EXACTLY this text NB! It seems that Selenium WebDriver does not support i18n characters in XPath :(
ByText(String) - Constructor for class com.codeborne.selenide.Selectors.ByText
 
byTitle(String) - Static method in class com.codeborne.selenide.Selectors
Find element with given title ("title" attribute)
byValue(String) - Static method in class com.codeborne.selenide.Selectors
 

C

captureSuccessfulTests - Variable in class com.codeborne.selenide.junit.ScreenShooter
 
captureSuccessfulTests - Static variable in class com.codeborne.selenide.testng.ScreenShooter
 
causedBy(Throwable) - Static method in class com.codeborne.selenide.ex.ErrorMessages
 
change(By) - Method in class com.codeborne.selenide.JQuery
Deprecated.
Not needed anymore. Methods $.setValue() and $.append() trigger change event automatically.
change(By, int) - Method in class com.codeborne.selenide.JQuery
Deprecated.
Not needed anymore. Methods $.setValue() and $.append() trigger change event automatically.
CHROME - Static variable in class com.codeborne.selenide.WebDriverRunner
 
Cleanup - Class in com.codeborne.selenide.impl
 
Cleanup() - Constructor for class com.codeborne.selenide.impl.Cleanup
 
cleanupThreadStarted - Variable in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
clear() - Method in class com.codeborne.selenide.logevents.ErrorsCollector
 
clearBrowserCache() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
clearBrowserCache() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
clearBrowserCache() - Static method in class com.codeborne.selenide.WebDriverRunner
Delete all the browser cookies
clearListeners() - Static method in class com.codeborne.selenide.impl.SelenideLogger
Deprecated.
use method removeListener(LogEventListener).
click() - Method in interface com.codeborne.selenide.SelenideElement
Click the element
clickViaJs - Static variable in class com.codeborne.selenide.Configuration
ATTENTION! Automatic WebDriver waiting after click isn't working in case of using this feature.
close() - Static method in class com.codeborne.selenide.Selenide
Close the browser if it's open
closeBrowserTimeoutMs - Static variable in class com.codeborne.selenide.Configuration
Timeout (in milliseconds) for closing/killing browser.
closest(String) - Method in interface com.codeborne.selenide.SelenideElement
Find closes ancestor element matching given criteria.
closeUnusedWebdrivers() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
closeWebDriver() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
closeWebDriver() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
closeWebDriver(Thread) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
closeWebDriver() - Static method in class com.codeborne.selenide.WebDriverRunner
Close the browser if it's open
CollectionCondition - Class in com.codeborne.selenide
 
CollectionCondition() - Constructor for class com.codeborne.selenide.CollectionCondition
 
CollectionElement - Class in com.codeborne.selenide.impl
 
collectJavascriptErrors(JavascriptExecutor) - Method in class com.codeborne.selenide.impl.Navigator
 
com.codeborne.selenide - package com.codeborne.selenide
Public API of Selenide
com.codeborne.selenide.collections - package com.codeborne.selenide.collections
 
com.codeborne.selenide.conditions - package com.codeborne.selenide.conditions
Implementation of built-in Selenide conditions.
com.codeborne.selenide.ex - package com.codeborne.selenide.ex
 
com.codeborne.selenide.impl - package com.codeborne.selenide.impl
Implementation details of Selenide library.
com.codeborne.selenide.junit - package com.codeborne.selenide.junit
Selenide integration with JUnit
com.codeborne.selenide.logevents - package com.codeborne.selenide.logevents
EXPERIMENTAL Use with cautions! This API will likely be changed soon.
com.codeborne.selenide.testng - package com.codeborne.selenide.testng
Selenide integration with TestNG
com.codeborne.selenide.webdriver - package com.codeborne.selenide.webdriver
 
commitStep(SelenideLog, Throwable) - Static method in class com.codeborne.selenide.impl.SelenideLogger
 
commitStep(SelenideLog, LogEvent.EventStatus) - Static method in class com.codeborne.selenide.impl.SelenideLogger
 
Condition - Class in com.codeborne.selenide
Conditions to match web elements: checks for visibility, text etc.
Condition(String) - Constructor for class com.codeborne.selenide.Condition
 
Condition(String, boolean) - Constructor for class com.codeborne.selenide.Condition
 
Configuration - Class in com.codeborne.selenide
 
Configuration() - Constructor for class com.codeborne.selenide.Configuration
 
Configuration.AssertionMode - Enum in com.codeborne.selenide
 
Configuration.SelectorMode - Enum in com.codeborne.selenide
 
confirm() - Static method in class com.codeborne.selenide.Selenide
Accept (Click "Yes" or "Ok") in the confirmation dialog (javascript 'alert' or 'confirm').
confirm(String) - Static method in class com.codeborne.selenide.Selenide
Accept (Click "Yes" or "Ok") in the confirmation dialog (javascript 'alert' or 'confirm').
contains(String, String) - Method in class com.codeborne.selenide.impl.Html
 
containsCaseSensitive(String, String) - Method in class com.codeborne.selenide.impl.Html
 
contextClick() - Method in interface com.codeborne.selenide.SelenideElement
Click with right mouse button on this element
copyFile(File, File) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
copyFile(InputStream, File) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
createChromeDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createCommonCapabilities(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createDriver() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
createDriver(DesiredCapabilities) - Method in interface com.codeborne.selenide.WebDriverProvider
Create new WebDriver instance.
createElementNotFoundError(Condition, Throwable) - Method in class com.codeborne.selenide.impl.CollectionElement
 
createElementNotFoundError(Condition, Throwable) - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
createFirefoxDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createHtmlUnitDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createInstanceOf(String, Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createInternetExplorerDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createOperaDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createPhantomJsDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createRemoteDriver(String, String, Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createSafariDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
createWebDriver(Proxy) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
cssClass(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("input").shouldHave(cssClass("active"));
currentContext - Variable in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
currentContextScreenshots - Variable in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
currentFrameUrl() - Static method in class com.codeborne.selenide.WebDriverRunner
 

D

data(String) - Method in interface com.codeborne.selenide.SelenideElement
Get value of attribute "data-dataAttributeName"
decorate(ClassLoader, Field) - Method in class com.codeborne.selenide.impl.SelenideFieldDecorator
 
defaultContent() - Method in class com.codeborne.selenide.SelenideTargetLocator
 
Describe - Class in com.codeborne.selenide.impl
 
describe(WebElement) - Static method in class com.codeborne.selenide.impl.Describe
 
description() - Method in class com.codeborne.selenide.impl.BySelectorCollection
 
description() - Method in class com.codeborne.selenide.impl.FilteringCollection
 
description() - Method in interface com.codeborne.selenide.impl.WebElementsCollection
 
description() - Method in class com.codeborne.selenide.impl.WebElementsCollectionWrapper
 
DialogTextMismatch - Error in com.codeborne.selenide.ex
 
DialogTextMismatch(String, String) - Constructor for error com.codeborne.selenide.ex.DialogTextMismatch
 
disabled - Static variable in class com.codeborne.selenide.Condition
Checks that element is disabled
disappear - Static variable in class com.codeborne.selenide.Condition
Synonym for Condition.hidden - may be used for better readability:
disappears - Static variable in class com.codeborne.selenide.Condition
Synonym for Condition.hidden - may be used for better readability:
dismiss() - Static method in class com.codeborne.selenide.Selenide
Dismiss (click "No" or "Cancel") in the confirmation dialog (javascript 'alert' or 'confirm').
dismiss(String) - Static method in class com.codeborne.selenide.Selenide
Dismiss (click "No" or "Cancel") in the confirmation dialog (javascript 'alert' or 'confirm').
dismissModalDialogs - Static variable in class com.codeborne.selenide.Configuration
Mock "alert" and "confirm" javascript dialogs.
doubleClick() - Method in interface com.codeborne.selenide.SelenideElement
Double click the element
download(WebElement) - Method in class com.codeborne.selenide.impl.FileDownloader
 
download() - Method in interface com.codeborne.selenide.SelenideElement
Download file linked by "href" attribute of this element
dragAndDropTo(String) - Method in interface com.codeborne.selenide.SelenideElement
Drag and drop this element to the target.
duplicateCookie(Cookie) - Method in class com.codeborne.selenide.impl.FileDownloader
 

E

ElementNotFound - Error in com.codeborne.selenide.ex
 
ElementNotFound(By, Condition) - Constructor for error com.codeborne.selenide.ex.ElementNotFound
 
ElementNotFound(String, Condition) - Constructor for error com.codeborne.selenide.ex.ElementNotFound
 
ElementNotFound(String, Condition, Throwable) - Constructor for error com.codeborne.selenide.ex.ElementNotFound
 
ElementNotFound(WebElementsCollection, String[], Throwable) - Constructor for error com.codeborne.selenide.ex.ElementNotFound
 
ElementsCollection - Class in com.codeborne.selenide
 
ElementsCollection(WebElementsCollection) - Constructor for class com.codeborne.selenide.ElementsCollection
 
ElementsContainer - Class in com.codeborne.selenide
 
ElementsContainer() - Constructor for class com.codeborne.selenide.ElementsContainer
 
ElementShould - Error in com.codeborne.selenide.ex
 
ElementShould(String, String, Condition, WebElement, Exception) - Constructor for error com.codeborne.selenide.ex.ElementShould
 
ElementShould(String, String, String, Condition, WebElement, Throwable) - Constructor for error com.codeborne.selenide.ex.ElementShould
 
ElementShouldNot - Error in com.codeborne.selenide.ex
 
ElementShouldNot(String, String, String, Condition, WebElement, Throwable) - Constructor for error com.codeborne.selenide.ex.ElementShouldNot
 
elementsToString(Collection<WebElement>) - Static method in class com.codeborne.selenide.ElementsCollection
 
elementText - Variable in class com.codeborne.selenide.Selectors.ByText
 
elementText - Variable in class com.codeborne.selenide.Selectors.WithText
 
empty - Static variable in class com.codeborne.selenide.CollectionCondition
 
empty - Static variable in class com.codeborne.selenide.Condition
1) For input element, check that value is missing or empty
enabled - Static variable in class com.codeborne.selenide.Condition
Checks that element is not disabled
ensureFolderExists(File) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
equals(String, String) - Method in class com.codeborne.selenide.impl.Html
 
equalsCaseSensitive(String, String) - Method in class com.codeborne.selenide.impl.Html
 
ErrorMessages - Class in com.codeborne.selenide.ex
 
ErrorMessages() - Constructor for class com.codeborne.selenide.ex.ErrorMessages
 
ErrorsCollector - Class in com.codeborne.selenide.logevents
 
ErrorsCollector() - Constructor for class com.codeborne.selenide.logevents.ErrorsCollector
 
escape - Static variable in class com.codeborne.selenide.impl.Quotes
 
evaluateSizzleSelector(SearchContext, By.ByCssSelector) - Method in class com.codeborne.selenide.impl.WebElementSelector
 
events() - Method in class com.codeborne.selenide.logevents.EventsCollector
 
EventsCollector - Class in com.codeborne.selenide.logevents
 
EventsCollector() - Constructor for class com.codeborne.selenide.logevents.EventsCollector
 
exactText(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("h1").shouldHave(exactText("Hello"))
exactTextCaseSensitive(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("h1").shouldHave(exactTextCaseSensitive("Hello"))
exactTexts(String...) - Static method in class com.codeborne.selenide.CollectionCondition
Checks that given collection has given texts (each collection element EQUALS TO corresponding text)
ExactTexts - Class in com.codeborne.selenide.collections
 
ExactTexts(String...) - Constructor for class com.codeborne.selenide.collections.ExactTexts
 
exactValue(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("#input").shouldHave(exactValue("John"));
exclude(Condition) - Method in class com.codeborne.selenide.ElementsCollection
 
excludeWith(Condition) - Method in class com.codeborne.selenide.ElementsCollection
 
executeHttpRequest(String) - Method in class com.codeborne.selenide.impl.FileDownloader
 
executeJavaScript(String, Object...) - Static method in class com.codeborne.selenide.Selenide
 
executeJQueryMethod(By, String) - Method in class com.codeborne.selenide.JQuery
Deprecated.
exist - Static variable in class com.codeborne.selenide.Condition
Check if element exist.
exists() - Method in interface com.codeborne.selenide.SelenideElement
Checks if element exists true on the current page.
expectedSize - Variable in class com.codeborne.selenide.collections.ListSize
 
expectedTexts - Variable in class com.codeborne.selenide.collections.ExactTexts
 

F

factory - Variable in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.CollectionCondition
 
fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.collections.ExactTexts
 
fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.collections.ListSize
 
failed(Throwable, Description) - Method in class com.codeborne.selenide.junit.ScreenShooter
 
failedTests() - Static method in class com.codeborne.selenide.junit.ScreenShooter
 
failIfErrors(String) - Method in class com.codeborne.selenide.logevents.ErrorsCollector
 
fastSetValue - Static variable in class com.codeborne.selenide.Configuration
If set to true, sets value by javascript instead of using Selenium built-in "sendKey" function (that is quite slow because it sends every character separately).
FileDownloader - Class in com.codeborne.selenide.impl
 
FileDownloader() - Constructor for class com.codeborne.selenide.impl.FileDownloader
 
filter(Condition) - Method in class com.codeborne.selenide.ElementsCollection
 
filterBy(Condition) - Method in class com.codeborne.selenide.ElementsCollection
 
FilteringCollection - Class in com.codeborne.selenide.impl
 
FilteringCollection(WebElementsCollection, Predicate<WebElement>) - Constructor for class com.codeborne.selenide.impl.FilteringCollection
 
find(Condition) - Method in class com.codeborne.selenide.ElementsCollection
 
find(SelenideElement, Object, int) - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
find(String) - Method in interface com.codeborne.selenide.SelenideElement
Find the first matching element inside given element
find(String, int) - Method in interface com.codeborne.selenide.SelenideElement
Find the Nth matching element inside given element
find(By) - Method in interface com.codeborne.selenide.SelenideElement
com.codeborne.selenide.SelenideElement#find(java.lang.String)
find(By, int) - Method in interface com.codeborne.selenide.SelenideElement
com.codeborne.selenide.SelenideElement#find(java.lang.String)
findAll(String) - Method in interface com.codeborne.selenide.SelenideElement
Short form of webDriver.findElements(thisElement, By.cssSelector(cssSelector))
findAll(By) - Method in interface com.codeborne.selenide.SelenideElement
Short form of webDriver.findElements(thisElement, selector)
findBy(Condition) - Method in class com.codeborne.selenide.ElementsCollection
 
findElement(SearchContext, By) - Method in class com.codeborne.selenide.impl.WebElementSelector
 
findElements(SearchContext, By) - Method in class com.codeborne.selenide.impl.WebElementSelector
 
finish(String) - Method in class com.codeborne.selenide.logevents.SimpleReport
 
finishContext() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
finishContext() - Static method in class com.codeborne.selenide.Screenshots
 
finished(Description) - Method in class com.codeborne.selenide.junit.ScreenShooter
 
finished(Description) - Method in class com.codeborne.selenide.junit.TextReport
 
FIREFOX - Static variable in class com.codeborne.selenide.WebDriverRunner
 
first() - Method in class com.codeborne.selenide.ElementsCollection
 
flush() - Method in class com.codeborne.selenide.impl.Describe
 
focused - Static variable in class com.codeborne.selenide.Condition
Check if browser focus is currently in given element.
followLink() - Method in interface com.codeborne.selenide.SelenideElement
Actual for <a href> elements.
formatScreenShotPath() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
forward() - Method in class com.codeborne.selenide.impl.Navigator
 
forward() - Static method in class com.codeborne.selenide.Selenide
Navigate browser forward to next page
frame(int) - Method in class com.codeborne.selenide.SelenideTargetLocator
 
frame(String) - Method in class com.codeborne.selenide.SelenideTargetLocator
 
frame(WebElement) - Method in class com.codeborne.selenide.SelenideTargetLocator
 

G

generateScreenshotFileName() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
get(int) - Method in class com.codeborne.selenide.ElementsCollection
 
getActualDelegate() - Method in class com.codeborne.selenide.impl.CollectionElement
 
getActualDelegate() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
getActualDelegate() - Method in class com.codeborne.selenide.impl.WebElementProxy
 
getActualElements() - Method in class com.codeborne.selenide.impl.BySelectorCollection
 
getActualElements() - Method in class com.codeborne.selenide.impl.FilteringCollection
 
getActualElements() - Method in interface com.codeborne.selenide.impl.WebElementsCollection
 
getActualElements() - Method in class com.codeborne.selenide.impl.WebElementsCollectionWrapper
 
getAllMatchingElements() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
getAndCheckWebDriver() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
getAndCheckWebDriver() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
getAndCheckWebDriver() - Static method in class com.codeborne.selenide.WebDriverRunner
Get the underlying instance of Selenium WebDriver, and assert that it's still alive.
getCurrentFrameUrl() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
getCurrentFrameUrl() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
getCurrentUrl() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
getCurrentUrl() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
getDelegate() - Method in class com.codeborne.selenide.impl.CollectionElement
 
getDelegate() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
getDelegate() - Method in class com.codeborne.selenide.impl.WebElementProxy
 
getDuration() - Method in class com.codeborne.selenide.impl.SelenideLog
 
getDuration() - Method in interface com.codeborne.selenide.logevents.LogEvent
 
getElement() - Method in class com.codeborne.selenide.impl.SelenideLog
 
getElement() - Method in interface com.codeborne.selenide.logevents.LogEvent
 
getElement(By) - Static method in class com.codeborne.selenide.Selenide
Find the first element matching given criteria
getElement(By, int) - Static method in class com.codeborne.selenide.Selenide
Find the Nth element matching given criteria
getElements(By) - Static method in class com.codeborne.selenide.Selenide
Find all elements matching given CSS selector
getError() - Method in class com.codeborne.selenide.impl.SelenideLog
 
getError() - Method in interface com.codeborne.selenide.logevents.LogEvent
 
getFileName(String, HttpResponse) - Method in class com.codeborne.selenide.impl.FileDownloader
 
getFileNameFromContentDisposition(String, String) - Method in class com.codeborne.selenide.impl.FileDownloader
 
getFocusedElement() - Static method in class com.codeborne.selenide.Selenide
 
getJavascriptErrors() - Static method in class com.codeborne.selenide.Selenide
Get JavaScript errors that happened on this page.
getJQuerySelector(By) - Method in class com.codeborne.selenide.JQuery
Deprecated.
 
getJsErrors() - Method in error com.codeborne.selenide.ex.UIAssertionError
Get all javascript errors found during test execution
getLastScreenshot() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
getLastScreenshot() - Static method in class com.codeborne.selenide.Screenshots
Get the last screenshot taken
getPageImage(WebDriver) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
getPageSource() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
getPageSource() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
getScreenshot() - Method in error com.codeborne.selenide.ex.UIAssertionError
Get path to screenshot taken after failed test
getScreenshotFileName(String, String) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
getScreenshots() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
getSearchCriteria() - Method in class com.codeborne.selenide.impl.WebElementProxy
 
getSelectedOption() - Method in interface com.codeborne.selenide.SelenideElement
Find selected option from this select field
getSelectedRadio(By) - Static method in class com.codeborne.selenide.Selenide
 
getSelectedText() - Method in interface com.codeborne.selenide.SelenideElement
Get text of selected option in select field
getSelectedValue() - Method in interface com.codeborne.selenide.SelenideElement
Get value of selected option in select field
getSelf() - Method in class com.codeborne.selenide.ElementsContainer
 
getStatus() - Method in class com.codeborne.selenide.impl.SelenideLog
 
getStatus() - Method in interface com.codeborne.selenide.logevents.LogEvent
 
getSubject() - Method in class com.codeborne.selenide.impl.SelenideLog
 
getSubject() - Method in interface com.codeborne.selenide.logevents.LogEvent
 
getText() - Method in interface com.codeborne.selenide.SelenideElement
Get the visible text of this element, including sub-elements without leading/trailing whitespace.
getTexts() - Method in class com.codeborne.selenide.ElementsCollection
 
getTexts(Collection<WebElement>) - Static method in class com.codeborne.selenide.ElementsCollection
Fail-safe method for retrieving texts of given elements.
getWebDriver() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
getWebDriver() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
getWebDriver() - Static method in class com.codeborne.selenide.WebDriverRunner
Get the underlying instance of Selenium WebDriver.
getWebDriverLogs(String) - Static method in class com.codeborne.selenide.Selenide
Same as com.codeborne.selenide.Selenide#getWebDriverLogs(java.lang.String, java.util.logging.Level) EXPERIMENTAL! Use with caution.
getWebDriverLogs(String, Level) - Static method in class com.codeborne.selenide.Selenide
EXPERIMENTAL! Use with caution.
getWrappedElement() - Method in interface com.codeborne.selenide.SelenideElement
 

H

has(Condition) - Method in interface com.codeborne.selenide.SelenideElement
Return true iff element matches given condition
hasAttribute(String, String) - Static method in class com.codeborne.selenide.Condition
Sample: $("#mydiv").waitUntil(hasAttribute("fileId", "12345"), 7000);
hasClass(WebElement, String) - Static method in class com.codeborne.selenide.Condition
 
hasClass(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("input").waitUntil(hasClass("blocked"), 7000);
hasNext() - Method in class com.codeborne.selenide.impl.SelenideElementIterator
 
hasNotClass(String) - Static method in class com.codeborne.selenide.Condition
Deprecated.
Use method $.shouldNotHave(cssClass("abc"))
hasOptions() - Static method in class com.codeborne.selenide.Condition
Deprecated. 
hasPrevious() - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
 
hasText(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("h1").waitUntil(hasText("Hello"), 10000)
hasValue(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("#myInput").waitUntil(hasValue("John"), 5000)
hasWebDriverStarted() - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
hasWebDriverStarted() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
hasWebDriverStarted() - Static method in class com.codeborne.selenide.WebDriverRunner
 
have(Condition) - Static method in class com.codeborne.selenide.Condition
 
hidden - Static variable in class com.codeborne.selenide.Condition
Checks that element is not visible or does not exists.
holdBrowserOpen - Static variable in class com.codeborne.selenide.Configuration
If holdBrowserOpen is true, browser window stays open after running tests.
hover() - Method in interface com.codeborne.selenide.SelenideElement
Emulate "mouseOver" event.
Html - Class in com.codeborne.selenide.impl
 
Html() - Constructor for class com.codeborne.selenide.impl.Html
 
HTMLUNIT - Static variable in class com.codeborne.selenide.WebDriverRunner
To use HtmlUnitDriver, you need to include extra dependency to your project: It's also possible to run HtmlUnit driver emulating different browsers:
htmlUnit() - Static method in class com.codeborne.selenide.WebDriverRunner
Deprecated.

I

id(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("#input").shouldHave(id("myForm"))
ie() - Static method in class com.codeborne.selenide.WebDriverRunner
Deprecated.
ignoreSelfSignedCerts - Static variable in class com.codeborne.selenide.impl.FileDownloader
 
injectSizzle() - Method in class com.codeborne.selenide.impl.WebElementSelector
 
injectSizzleIfNeeded() - Method in class com.codeborne.selenide.impl.WebElementSelector
 
innerFrame(String...) - Method in class com.codeborne.selenide.SelenideTargetLocator
Switch to the inner frame (last child frame in given sequence)
innerHtml() - Method in interface com.codeborne.selenide.SelenideElement
Get the HTML code of the element with children.
innerText() - Method in interface com.codeborne.selenide.SelenideElement
Get the text code of the element with children.
instance - Static variable in class com.codeborne.selenide.impl.FileDownloader
 
instance - Static variable in class com.codeborne.selenide.impl.WebElementSelector
 
INTERNET_EXPLORER - Static variable in class com.codeborne.selenide.WebDriverRunner
 
InvalidStateException - Error in com.codeborne.selenide.ex
 
InvalidStateException(Throwable) - Constructor for error com.codeborne.selenide.ex.InvalidStateException
 
InvalidStateException(String) - Constructor for error com.codeborne.selenide.ex.InvalidStateException
 
invoke(Object, Method, Object[]) - Method in class com.codeborne.selenide.impl.SelenideElementListProxy
 
is(Condition) - Method in interface com.codeborne.selenide.SelenideElement
Return true iff element matches given condition
isBrowserStillOpen(WebDriver) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
isChrome() - Static method in class com.codeborne.selenide.WebDriverRunner
Is Selenide configured to use Chrome browser
isDisplayed() - Method in interface com.codeborne.selenide.SelenideElement
Check if this element exists and visible.
isFirefox() - Static method in class com.codeborne.selenide.WebDriverRunner
Is Selenide configured to use Firefox browser
isHeadless() - Static method in class com.codeborne.selenide.WebDriverRunner
Is Selenide configured to use headless browser (HtmlUnit or PhantomJS)
isHtmlUnit() - Static method in class com.codeborne.selenide.WebDriverRunner
Is Selenide configured to use HtmlUnit browser
isIE() - Static method in class com.codeborne.selenide.WebDriverRunner
Is Selenide configured to use Internet Explorer browser
isImage() - Method in interface com.codeborne.selenide.SelenideElement
Check if image is properly loaded.
isInvalidSelectorError(Throwable) - Method in class com.codeborne.selenide.impl.Cleanup
 
isJQueryAvailable() - Method in class com.codeborne.selenide.JQuery
Deprecated.
No need to depend on JQuery in your tests
isLocalFile(String) - Method in class com.codeborne.selenide.impl.Navigator
 
isOpera() - Static method in class com.codeborne.selenide.WebDriverRunner
Is Selenide configured to use Opera browser
isPhantomjs() - Static method in class com.codeborne.selenide.WebDriverRunner
Is Selenide configured to use PhantomJS browser
isSafari() - Static method in class com.codeborne.selenide.WebDriverRunner
 
iterator() - Method in class com.codeborne.selenide.ElementsCollection
 

J

JavaScriptErrorsFound - Error in com.codeborne.selenide.ex
 
JavaScriptErrorsFound(List<String>) - Constructor for error com.codeborne.selenide.ex.JavaScriptErrorsFound
 
JQuery - Class in com.codeborne.selenide
Deprecated.
There are better options for every of JQuery methods.
JQuery() - Constructor for class com.codeborne.selenide.JQuery
Deprecated.
 
jQuery - Static variable in class com.codeborne.selenide.JQuery
Deprecated.
This instance is mutable so that you can replace it with your own custom object.
jsErrors(List<String>) - Static method in class com.codeborne.selenide.ex.ErrorMessages
 
jsErrors - Variable in error com.codeborne.selenide.ex.UIAssertionError
 

L

last() - Method in class com.codeborne.selenide.ElementsCollection
 
listeners - Static variable in class com.codeborne.selenide.impl.SelenideLogger
 
listeners - Variable in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
listIterator(int) - Method in class com.codeborne.selenide.ElementsCollection
 
ListSize - Class in com.codeborne.selenide.collections
 
ListSize(int) - Constructor for class com.codeborne.selenide.collections.ListSize
 
ListSizeMismatch - Error in com.codeborne.selenide.ex
 
ListSizeMismatch(int, WebElementsCollection, List<WebElement>, Exception, long) - Constructor for error com.codeborne.selenide.ex.ListSizeMismatch
 
LogEvent - Interface in com.codeborne.selenide.logevents
Events, created on Selenide actions like "navigate to url", "click on element", "check a condition"

An event contains a string representation of the element, the subject and its status.

Depends on implementation, status can be something like "PASSED", "FAILED" or something else.
LogEvent.EventStatus - Enum in com.codeborne.selenide.logevents
 
LogEventListener - Interface in com.codeborne.selenide.logevents
An implementations of this interface can be registered by SelenideLogger#addListener
It will notified on each events emitted by Selenide

M

makeUniqueUrlToAvoidIECaching(String, long) - Method in class com.codeborne.selenide.impl.Navigator
 
markForAutoClose(WebDriver) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
matches(String, String) - Method in class com.codeborne.selenide.impl.Html
 
matchesText(String) - Static method in class com.codeborne.selenide.Condition
Sample: $(".error_message").waitWhile(matchesText("Exception"), 12000)
matchText(String) - Static method in class com.codeborne.selenide.Condition
Assert that given element's text matches given regular expression
maximize(WebDriver) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
maximizeChromeBrowser(WebDriver.Window) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 
mimicCookieState() - Method in class com.codeborne.selenide.impl.FileDownloader
 

N

name - Variable in class com.codeborne.selenide.Condition
 
name(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("#input").shouldHave(name("username"))
name() - Method in interface com.codeborne.selenide.SelenideElement
Get the "name" attribute of the element
navigateToAbsoluteUrl(String) - Method in class com.codeborne.selenide.impl.Navigator
 
Navigator - Class in com.codeborne.selenide.impl
 
Navigator() - Constructor for class com.codeborne.selenide.impl.Navigator
 
navigator - Static variable in class com.codeborne.selenide.Selenide
 
next() - Method in class com.codeborne.selenide.impl.SelenideElementIterator
 
nextIndex() - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
 
not(Condition) - Static method in class com.codeborne.selenide.Condition
Negate given condition.
notPresent - Static variable in class com.codeborne.selenide.Condition
Deprecated.
Use method $.shouldNot(exist) or $.shouldNotBe(present).
nullIsAllowed - Variable in class com.codeborne.selenide.Condition
 

O

of - Static variable in class com.codeborne.selenide.impl.Cleanup
 
onClick(By) - Method in class com.codeborne.selenide.JQuery
Deprecated.
Do not try to click invisible elements in your test. User cannot click them, so your test should not as well.
onConfigurationFailure(ITestResult) - Method in class com.codeborne.selenide.testng.BrowserPerTest
 
onConfigurationFailure(ITestResult) - Method in class com.codeborne.selenide.testng.SoftAsserts
 
onConfirmReturn(boolean) - Static method in class com.codeborne.selenide.Selenide
 
onEvent(LogEvent) - Method in class com.codeborne.selenide.logevents.ErrorsCollector
 
onEvent(LogEvent) - Method in class com.codeborne.selenide.logevents.EventsCollector
 
onEvent(LogEvent) - Method in interface com.codeborne.selenide.logevents.LogEventListener
 
onFinish(ITestContext) - Method in class com.codeborne.selenide.testng.BrowserPerClass
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class com.codeborne.selenide.testng.BrowserPerTest
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class com.codeborne.selenide.testng.SoftAsserts
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class com.codeborne.selenide.testng.TextReport
 
onTestFailure(ITestResult) - Method in class com.codeborne.selenide.testng.BrowserPerTest
 
onTestFailure(ITestResult) - Method in class com.codeborne.selenide.testng.ScreenShooter
 
onTestFailure(ITestResult) - Method in class com.codeborne.selenide.testng.SoftAsserts
 
onTestFailure(ITestResult) - Method in class com.codeborne.selenide.testng.TextReport
 
onTestStart(ITestResult) - Method in class com.codeborne.selenide.testng.ScreenShooter
 
onTestStart(ITestResult) - Method in class com.codeborne.selenide.testng.TextReport
 
onTestSuccess(ITestResult) - Method in class com.codeborne.selenide.testng.BrowserPerTest
 
onTestSuccess(ITestResult) - Method in class com.codeborne.selenide.testng.ScreenShooter
 
onTestSuccess(ITestResult) - Method in class com.codeborne.selenide.testng.SoftAsserts
 
onTestSuccess(ITestResult) - Method in class com.codeborne.selenide.testng.TextReport
 
open(String) - Method in class com.codeborne.selenide.impl.Navigator
 
open(URL) - Method in class com.codeborne.selenide.impl.Navigator
 
open(String) - Static method in class com.codeborne.selenide.Selenide
The main starting point in your tests.
open(URL) - Static method in class com.codeborne.selenide.Selenide
 
open(String, Class<PageObjectClass>) - Static method in class com.codeborne.selenide.Selenide
Open a web page and create PageObject for it.
open(URL, Class<PageObjectClass>) - Static method in class com.codeborne.selenide.Selenide
 
openBrowserTimeoutMs - Static variable in class com.codeborne.selenide.Configuration
Timeout (in milliseconds) for opening (creating) a browser (webdriver).
OPERA - Static variable in class com.codeborne.selenide.WebDriverRunner
To use OperaDriver, you need to include extra dependency to your project: <dependency org="com.opera" name="operadriver" rev="1.5" conf="test->default"/>
options - Static variable in class com.codeborne.selenide.Condition
Deprecated.
Not needed anymore. Use methods $.selectOption() or $.selectOptionByValue().
or(String, Condition...) - Static method in class com.codeborne.selenide.Condition
Check if element matches ANY of given conditions.

P

page(Class<PageObjectClass>) - Static method in class com.codeborne.selenide.Selenide
Create a Page Object instance.
page(T) - Static method in class com.codeborne.selenide.Selenide
Create a Page Object instance.
parent() - Method in interface com.codeborne.selenide.SelenideElement
Get parent element of this element For example, $("td").parent() could give some "tr".
parentFrame() - Method in class com.codeborne.selenide.SelenideTargetLocator
 
PHANTOMJS - Static variable in class com.codeborne.selenide.WebDriverRunner
To use PhantomJS, you need to include extra dependency to your project: <dependency org="com.github.detro" name="phantomjsdriver" rev="1.2.0" conf="test->default"/>
phantomjs() - Static method in class com.codeborne.selenide.WebDriverRunner
Deprecated.
pollingInterval - Static variable in class com.codeborne.selenide.Configuration
 
prepareTargetFile(String, HttpResponse) - Method in class com.codeborne.selenide.impl.FileDownloader
 
present - Static variable in class com.codeborne.selenide.Condition
Check that element is present on the page.
pressEnter() - Method in interface com.codeborne.selenide.SelenideElement
Press ENTER.
pressEscape() - Method in interface com.codeborne.selenide.SelenideElement
Press ESCAPE.
pressTab() - Method in interface com.codeborne.selenide.SelenideElement
Press TAB.
PrettyReportCreator - Class in com.codeborne.selenide.logevents
Deprecated.
Use class from package junit: com.codeborne.selenide.junit.TextReport
PrettyReportCreator() - Constructor for class com.codeborne.selenide.logevents.PrettyReportCreator
Deprecated.
 
previous() - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
 
previousIndex() - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
 
printedErrors - Variable in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
printOnce(String, Throwable) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
proxy - Variable in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 

Q

Quotes - Class in com.codeborne.selenide.impl
 
Quotes() - Constructor for class com.codeborne.selenide.impl.Quotes
 
quotes(String) - Method in class com.codeborne.selenide.impl.Quotes
Convert strings with both quotes and ticks into: foo'"bar -> concat("foo'", '"', "bar")

R

readonly - Static variable in class com.codeborne.selenide.Condition
Check if element has "readonly" attribute (with any value)
refresh() - Static method in class com.codeborne.selenide.Selenide
Reload current page
remote - Static variable in class com.codeborne.selenide.Configuration
URL of remote web driver (in case of using Selenium Grid).
remove() - Method in class com.codeborne.selenide.impl.SelenideElementIterator
 
removeListener(LogEventListener) - Static method in class com.codeborne.selenide.impl.SelenideLogger
 
reopenBrowserOnFail - Static variable in class com.codeborne.selenide.Configuration
Should Selenide re-spawn browser if it's disappeared (hangs, broken, unexpectedly closed).
report - Variable in class com.codeborne.selenide.junit.TextReport
 
report - Variable in class com.codeborne.selenide.testng.TextReport
 
reportsFolder - Static variable in class com.codeborne.selenide.Configuration
Folder to store screenshots to.
reportsUrl - Static variable in class com.codeborne.selenide.Configuration
Optional: URL of CI server where reports are published to.
run() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer.UnusedWebdriversCleanupThread
 
run() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer.WebdriversFinalCleanupThread
 
runtime(Throwable) - Method in class com.codeborne.selenide.webdriver.WebDriverFactory
 

S

SAFARI - Static variable in class com.codeborne.selenide.WebDriverRunner
To use Safari webdriver, you need to include extra dependency to your project: <dependency org="org.seleniumhq.selenium" name="selenium-safari-driver" rev="2.+" conf="test->default"/>
saveFileContent(HttpResponse, File) - Method in class com.codeborne.selenide.impl.FileDownloader
 
savePageImageToFile(String, WebDriver) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
savePageSourceToFile(String, WebDriver) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
savePageSourceToFile(String, WebDriver, boolean) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
ScreenShooter - Class in com.codeborne.selenide.junit
Usage:
ScreenShooter - Class in com.codeborne.selenide.testng
Annotate your test class with @Listeners({ ScreenShooter.class})
ScreenShooter() - Constructor for class com.codeborne.selenide.testng.ScreenShooter
 
screenshot() - Static method in class com.codeborne.selenide.ex.ErrorMessages
 
screenshot(String) - Static method in class com.codeborne.selenide.ex.ErrorMessages
 
screenshot(String) - Static method in class com.codeborne.selenide.Selenide
Take the screenshot of current page and save to file fileName.html and fileName.png
screenshot() - Method in interface com.codeborne.selenide.SelenideElement
Take screenshot of this element
screenshotCounter - Variable in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
ScreenShotLaboratory - Class in com.codeborne.selenide.impl
 
ScreenShotLaboratory() - Constructor for class com.codeborne.selenide.impl.ScreenShotLaboratory
 
screenshots - Static variable in class com.codeborne.selenide.Configuration
Does Selenide need to take screenshots on failing tests.
Screenshots - Class in com.codeborne.selenide
 
Screenshots() - Constructor for class com.codeborne.selenide.Screenshots
 
screenshots - Static variable in class com.codeborne.selenide.Screenshots
 
scrollTo(By) - Method in class com.codeborne.selenide.JQuery
Deprecated.
Use method $(...).scrollTo() instead - it's jquery-agnostic.

This method works only if jQuery "scroll" plugin is included in page being tested

scrollTo() - Method in interface com.codeborne.selenide.SelenideElement
Ask browser to scroll to this element
selected - Static variable in class com.codeborne.selenide.Condition
Checks that element is selected
selectOption(String) - Method in interface com.codeborne.selenide.SelenideElement
Select an option from dropdown list
selectOptionByValue(String) - Method in interface com.codeborne.selenide.SelenideElement
Select an option by value from dropdown list
selector(By) - Static method in class com.codeborne.selenide.impl.Describe
 
selectorMode - Static variable in class com.codeborne.selenide.Configuration
EXPERIMENTAL Choose how Selenide should retrieve web elements: using default CSS or Sizzle (CSS3)
Selectors - Class in com.codeborne.selenide
 
Selectors() - Constructor for class com.codeborne.selenide.Selectors
 
Selectors.ByText - Class in com.codeborne.selenide
 
Selectors.WithText - Class in com.codeborne.selenide
 
selectRadio(By, String) - Static method in class com.codeborne.selenide.Selenide
Not recommended.
selectRadio(String) - Method in interface com.codeborne.selenide.SelenideElement
Select radio button
Selenide - Class in com.codeborne.selenide
The main starting point of Selenide.
Selenide() - Constructor for class com.codeborne.selenide.Selenide
 
SelenideElement - Interface in com.codeborne.selenide
Wrapper around WebElement with additional methods like SelenideElement.shouldBe(Condition...) and SelenideElement.shouldHave(Condition...)
SelenideElementIterator - Class in com.codeborne.selenide.impl
 
SelenideElementIterator(Iterator<WebElement>) - Constructor for class com.codeborne.selenide.impl.SelenideElementIterator
 
SelenideElementListIterator - Class in com.codeborne.selenide.impl
 
SelenideElementListIterator(ListIterator<WebElement>) - Constructor for class com.codeborne.selenide.impl.SelenideElementListIterator
 
SelenideElementListProxy - Class in com.codeborne.selenide.impl
 
SelenideFieldDecorator - Class in com.codeborne.selenide.impl
 
SelenideFieldDecorator(SearchContext) - Constructor for class com.codeborne.selenide.impl.SelenideFieldDecorator
 
SelenideLog - Class in com.codeborne.selenide.impl
 
SelenideLog(String, String) - Constructor for class com.codeborne.selenide.impl.SelenideLog
 
SelenideLogger - Class in com.codeborne.selenide.impl
EXPERIMENTAL to be refactored soon

Logs Selenide test steps and notifies all registered LogEventListener about it

SelenideLogger() - Constructor for class com.codeborne.selenide.impl.SelenideLogger
 
SelenideTargetLocator - Class in com.codeborne.selenide
 
serialize() - Method in class com.codeborne.selenide.impl.Describe
 
set(SelenideElement) - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
 
setError(Throwable) - Method in class com.codeborne.selenide.impl.SelenideLog
 
setProxy(Proxy) - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
setProxy(Proxy) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
setProxy(Proxy) - Static method in class com.codeborne.selenide.WebDriverRunner
 
setSelected(boolean) - Method in interface com.codeborne.selenide.SelenideElement
Set checkbox state to CHECKED or UNCHECKED.
setSelf(SelenideElement) - Method in class com.codeborne.selenide.ElementsContainer
 
setStatus(LogEvent.EventStatus) - Method in class com.codeborne.selenide.impl.SelenideLog
 
setValue(String) - Method in interface com.codeborne.selenide.SelenideElement
Clear the text field, enter given text and trigger "change" event.
setWebDriver(WebDriver) - Method in interface com.codeborne.selenide.impl.WebDriverContainer
 
setWebDriver(WebDriver) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
setWebDriver(WebDriver) - Static method in class com.codeborne.selenide.WebDriverRunner
Tell Selenide use your provided WebDriver instance.
shortly(WebElement) - Static method in class com.codeborne.selenide.impl.Describe
 
shortly(By) - Static method in class com.codeborne.selenide.impl.Describe
 
should(String, CollectionCondition...) - Method in class com.codeborne.selenide.ElementsCollection
 
should(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Checks that given element meets all of given conditions.
should(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
shouldBe(CollectionCondition...) - Method in class com.codeborne.selenide.ElementsCollection
$$(".error").shouldBe(empty)
shouldBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Synonym for #should.
shouldBe(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
shouldHave(CollectionCondition...) - Method in class com.codeborne.selenide.ElementsCollection
$$(".error").shouldHave(size(3)) $$(".error").shouldHave(texts("Error1", "Error2"))
shouldHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Synonym for #should.
shouldHave(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
shouldHaveSize(int) - Method in class com.codeborne.selenide.ElementsCollection
 
shouldNot(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Checks that given element does not meet given conditions.
shouldNot(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
shouldNotBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Synonym for #shouldNot.
shouldNotBe(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
shouldNotHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Synonym for #shouldNot.
shouldNotHave(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
SimpleReport - Class in com.codeborne.selenide.logevents
EXPERIMENTAL Use with cautions! This API will likely be changed soon.
SimpleReport() - Constructor for class com.codeborne.selenide.logevents.SimpleReport
 
size(int) - Static method in class com.codeborne.selenide.CollectionCondition
 
size() - Method in class com.codeborne.selenide.ElementsCollection
 
sizzleLoaded() - Method in class com.codeborne.selenide.impl.WebElementSelector
 
sizzleSource - Variable in class com.codeborne.selenide.impl.WebElementSelector
 
sleep(long) - Static method in class com.codeborne.selenide.Selenide
Not recommended.
SoftAsserts - Class in com.codeborne.selenide.junit
 
SoftAsserts() - Constructor for class com.codeborne.selenide.junit.SoftAsserts
 
SoftAsserts - Class in com.codeborne.selenide.testng
Annotate your test class with @Listeners({ SoftAsserts.class})
SoftAsserts() - Constructor for class com.codeborne.selenide.testng.SoftAsserts
 
source() - Static method in class com.codeborne.selenide.WebDriverRunner
 
start() - Method in class com.codeborne.selenide.logevents.SimpleReport
 
startContext(String, String) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
startContext(String) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
startContext(String, String) - Static method in class com.codeborne.selenide.Screenshots
 
starting(Description) - Method in class com.codeborne.selenide.junit.ScreenShooter
 
starting(Description) - Method in class com.codeborne.selenide.junit.TextReport
 
startMaximized - Static variable in class com.codeborne.selenide.Configuration
The browser window is maximized when started.
succeeded(Description) - Method in class com.codeborne.selenide.junit.ScreenShooter
 
succeededTests() - Method in class com.codeborne.selenide.junit.ScreenShooter
 
supportsModalDialogs() - Static method in class com.codeborne.selenide.WebDriverRunner
Does this browser support "alert" and "confirm" dialogs.
switchTo() - Static method in class com.codeborne.selenide.Selenide
 
switchToWindow(String) - Static method in class com.codeborne.selenide.Selenide
Deprecated.
Same as switchTo().window(title)
switchToWindow(int) - Static method in class com.codeborne.selenide.Selenide
Deprecated.
The same as switchTo().window(index);

T

takeScreenShot(String, String) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
takeScreenShot() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
takeScreenShot(String) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
Takes screenshot of current browser window.
takeScreenshot(WebElement) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
takeScreenShot(String, String) - Static method in class com.codeborne.selenide.Screenshots
 
takeScreenShot(String) - Static method in class com.codeborne.selenide.Screenshots
 
takeScreenShot(WebElement) - Static method in class com.codeborne.selenide.Screenshots
 
takeScreenShot(String, String) - Static method in class com.codeborne.selenide.WebDriverRunner
Deprecated.
Use com.codeborne.selenide.Screenshots#takeScreenShot(java.lang.String, java.lang.String)
takeScreenShot(String) - Static method in class com.codeborne.selenide.WebDriverRunner
Deprecated.
Use com.codeborne.selenide.Screenshots#takeScreenShot(java.lang.String)
takeScreenShotAsFile() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
takeScreenShotAsFile() - Static method in class com.codeborne.selenide.Screenshots
Take screenshot and return as a file
takeScreenshotImage(TakesScreenshot, String) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
takeScreenshotInMemory(TakesScreenshot) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
text(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("h1").shouldHave(text("Hello\s*John"))
Text - Class in com.codeborne.selenide.conditions
 
Text(String) - Constructor for class com.codeborne.selenide.conditions.Text
 
text - Variable in class com.codeborne.selenide.conditions.Text
 
text - Static variable in class com.codeborne.selenide.impl.Html
 
text() - Method in interface com.codeborne.selenide.SelenideElement
Short form of getText()
textCaseSensitive(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("h1").shouldHave(textCaseSensitive("Hello\s*John"))
TextReport - Class in com.codeborne.selenide.junit
EXPERIMENTAL Use with cautions! This API will likely be changed soon.
TextReport() - Constructor for class com.codeborne.selenide.junit.TextReport
 
TextReport - Class in com.codeborne.selenide.testng
Annotate your test class with @Listeners({ TextReport.class})
TextReport() - Constructor for class com.codeborne.selenide.testng.TextReport
 
texts(String...) - Static method in class com.codeborne.selenide.CollectionCondition
Checks that given collection has given texts (each collection element CONTAINS corresponding text)
Texts - Class in com.codeborne.selenide.collections
 
Texts(String...) - Constructor for class com.codeborne.selenide.collections.Texts
 
TextsMismatch - Error in com.codeborne.selenide.ex
 
TextsMismatch(WebElementsCollection, String[], String[], long) - Constructor for error com.codeborne.selenide.ex.TextsMismatch
 
THREAD_WEB_DRIVER - Variable in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
timeout - Static variable in class com.codeborne.selenide.Configuration
 
timeout(long) - Static method in class com.codeborne.selenide.ex.ErrorMessages
 
timeoutMs - Variable in error com.codeborne.selenide.ex.UIAssertionError
 
timestamp() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 
title() - Static method in class com.codeborne.selenide.Selenide
 
to(String) - Method in class com.codeborne.selenide.junit.ScreenShooter
One-liner to configure Configuration.reportsFolder property
toString() - Method in class com.codeborne.selenide.collections.ExactTexts
 
toString() - Method in class com.codeborne.selenide.collections.ListSize
 
toString() - Method in class com.codeborne.selenide.collections.Texts
 
toString() - Method in class com.codeborne.selenide.Condition
 
toString() - Method in class com.codeborne.selenide.conditions.Text
 
toString() - Method in class com.codeborne.selenide.ElementsCollection
 
toString() - Method in error com.codeborne.selenide.ex.DialogTextMismatch
 
toString() - Method in error com.codeborne.selenide.ex.ElementNotFound
 
toString() - Method in error com.codeborne.selenide.ex.ElementShould
 
toString() - Method in error com.codeborne.selenide.ex.ElementShouldNot
 
toString() - Method in error com.codeborne.selenide.ex.InvalidStateException
 
toString() - Method in error com.codeborne.selenide.ex.ListSizeMismatch
 
toString() - Method in error com.codeborne.selenide.ex.TextsMismatch
 
toString() - Method in error com.codeborne.selenide.ex.UIAssertionError
 
toString() - Method in class com.codeborne.selenide.impl.CollectionElement
 
toString() - Method in class com.codeborne.selenide.impl.Describe
 
toString() - Method in class com.codeborne.selenide.impl.SelenideLog
 
toString() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
toString() - Method in class com.codeborne.selenide.impl.WebElementProxy
 
toString() - Method in class com.codeborne.selenide.Selectors.ByText
 
toString() - Method in class com.codeborne.selenide.Selectors.WithText
 
toString() - Method in interface com.codeborne.selenide.SelenideElement
Displays WebElement in human-readable format.
toWebElement() - Method in interface com.codeborne.selenide.SelenideElement
 
type(String) - Static method in class com.codeborne.selenide.Condition
Sample: $("#input").shouldHave(type("checkbox"))

U

UIAssertionError - Error in com.codeborne.selenide.ex
 
UIAssertionError(Throwable) - Constructor for error com.codeborne.selenide.ex.UIAssertionError
 
UIAssertionError(String) - Constructor for error com.codeborne.selenide.ex.UIAssertionError
 
UIAssertionError(String, Throwable) - Constructor for error com.codeborne.selenide.ex.UIAssertionError
 
uiDetails() - Method in error com.codeborne.selenide.ex.UIAssertionError
 
UnusedWebdriversCleanupThread() - Constructor for class com.codeborne.selenide.impl.WebDriverThreadLocalContainer.UnusedWebdriversCleanupThread
 
uploadFile(File...) - Method in interface com.codeborne.selenide.SelenideElement
Upload file into file upload field.
uploadFromClasspath(String...) - Method in interface com.codeborne.selenide.SelenideElement
Upload file into file upload field.
url() - Static method in class com.codeborne.selenide.WebDriverRunner
 

V

val(String) - Method in interface com.codeborne.selenide.SelenideElement
Same as #setValue(java.lang.String)
val() - Method in interface com.codeborne.selenide.SelenideElement
Get the "value" attribute of the element
value(String) - Static method in class com.codeborne.selenide.Condition
Assert that element has given "value" attribute.
valueOf(String) - Static method in enum com.codeborne.selenide.Configuration.AssertionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codeborne.selenide.Configuration.SelectorMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codeborne.selenide.logevents.LogEvent.EventStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.codeborne.selenide.Configuration.AssertionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codeborne.selenide.Configuration.SelectorMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codeborne.selenide.logevents.LogEvent.EventStatus
Returns an array containing the constants of this enum type, in the order they are declared.
visible - Static variable in class com.codeborne.selenide.Condition
Sample: $("input").shouldBe(visible);

W

Wait() - Static method in class com.codeborne.selenide.Selenide
 
WaitingSelenideElement - Class in com.codeborne.selenide.impl
 
waitUntil(CollectionCondition, long) - Method in class com.codeborne.selenide.ElementsCollection
 
waitUntil(Condition, long) - Method in interface com.codeborne.selenide.SelenideElement
Wait until given element meets given conditions.
waitUntil(String, Condition, long) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
waitWhile(Condition, long) - Method in interface com.codeborne.selenide.SelenideElement
Wait until given element does not meet given conditions.
waitWhile(String, Condition, long) - Method in interface com.codeborne.selenide.SelenideElement
Deprecated.
Method with "message" parameter will be removed in Selenide 3.0 Use method com.codeborne.selenide.Condition#because instead
WebDriverContainer - Interface in com.codeborne.selenide.impl
 
webdriverContainer - Static variable in class com.codeborne.selenide.WebDriverRunner
 
webdriverExceptionMessage(Throwable) - Method in class com.codeborne.selenide.impl.Cleanup
 
webdriverExceptionMessage(String) - Method in class com.codeborne.selenide.impl.Cleanup
 
WebDriverFactory - Class in com.codeborne.selenide.webdriver
 
WebDriverFactory() - Constructor for class com.codeborne.selenide.webdriver.WebDriverFactory
 
WebDriverProvider - Interface in com.codeborne.selenide
Interface for using custom WebDriver in your tests
WebDriverRunner - Class in com.codeborne.selenide
 
WebDriverRunner() - Constructor for class com.codeborne.selenide.WebDriverRunner
 
WebdriversFinalCleanupThread(Thread) - Constructor for class com.codeborne.selenide.impl.WebDriverThreadLocalContainer.WebdriversFinalCleanupThread
 
WebDriverThreadLocalContainer - Class in com.codeborne.selenide.impl
 
WebDriverThreadLocalContainer() - Constructor for class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
 
WebDriverThreadLocalContainer.UnusedWebdriversCleanupThread - Class in com.codeborne.selenide.impl
 
WebDriverThreadLocalContainer.WebdriversFinalCleanupThread - Class in com.codeborne.selenide.impl
 
WebElementProxy - Class in com.codeborne.selenide.impl
 
WebElementsCollection - Interface in com.codeborne.selenide.impl
 
WebElementsCollectionWrapper - Class in com.codeborne.selenide.impl
 
WebElementsCollectionWrapper(Collection<? extends WebElement>) - Constructor for class com.codeborne.selenide.impl.WebElementsCollectionWrapper
 
WebElementSelector - Class in com.codeborne.selenide.impl
Thanks to http://selenium.polteq.com/en/injecting-the-sizzle-css-selector-library/
WebElementSelector() - Constructor for class com.codeborne.selenide.impl.WebElementSelector
 
window(int) - Method in class com.codeborne.selenide.SelenideTargetLocator
Switch to window/tab by index NB! Order of windows/tabs can be different in different browsers, see Selenide tests.
window(String) - Method in class com.codeborne.selenide.SelenideTargetLocator
Switch to window/tab by name/handle/title
windowExceptHandles(String, String...) - Method in class com.codeborne.selenide.SelenideTargetLocator
Switch to window/tab by name/handle/title except some windows handles
withText(String) - Static method in class com.codeborne.selenide.Selectors
Find element CONTAINING given text (as a substring) NB! It seems that Selenium WebDriver does not support i18n characters in XPath :(
WithText(String) - Constructor for class com.codeborne.selenide.Selectors.WithText
 
wrap(Error) - Static method in error com.codeborne.selenide.ex.UIAssertionError
 
wrap(Throwable) - Method in class com.codeborne.selenide.impl.Cleanup
 
wrap(WebElementsCollection, int) - Static method in class com.codeborne.selenide.impl.CollectionElement
 
wrap(ElementLocator) - Static method in class com.codeborne.selenide.impl.SelenideElementListProxy
 
wrap(By) - Static method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
wrap(SearchContext, By, int) - Static method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
wrap(WebElement) - Static method in class com.codeborne.selenide.impl.WebElementProxy
 
writeToFile(String, File) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
 

Z

zoom(double) - Static method in class com.codeborne.selenide.Selenide
Zoom current page (in or out).
$ A B C D E F G H I J L M N O P Q R S T U V W Z