$ A B C D E F G H I J M N O P R S T U V W 

$

$(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, int) - 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

A

absoluteUrl(String) - Method in class com.codeborne.selenide.impl.Navigator
 
actualValue(WebElement) - Method in class com.codeborne.selenide.Condition
 
after() - Method in class com.codeborne.selenide.junit.BrowserStrategy
 
appear - Static variable in class com.codeborne.selenide.Condition
Synonym for #visible - may be used for better readability $("#logoutLink").should(appear);
appears - Static variable in class com.codeborne.selenide.Condition
Synonym for #visible - may be used for better readability $("#logoutLink").waitUntil(appears, 10000); Thought the same can be done in a shorter way: waitFor(By.id("logoutLink");
append(String) - Method in interface com.codeborne.selenide.SelenideElement
Append given test to the text field Implementation details: This is the same as
apply(WebElement) - Method in class com.codeborne.selenide.Condition
 
applyNull() - Method in class com.codeborne.selenide.Condition
 
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
$("#mydiv").shouldHave(attribute("fileId", "12345"));

B

baseUrl - Static variable in class com.codeborne.selenide.Configuration
 
browser - Static variable in class com.codeborne.selenide.Configuration
Which browser to use.
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
byAttribute(String, String) - Static method in class com.codeborne.selenide.Selectors
Find elements having attribute with given value.
byText(String) - Static method in class com.codeborne.selenide.Selectors
Find element HAVING given text (exactly this text)
byTitle(String) - Static method in class com.codeborne.selenide.Selectors
Find element with given title ("title" attribute)

C

captureFailingTests - Variable in class com.codeborne.selenide.junit.ScreenShooter
 
captureSuccessfulTests - Variable in class com.codeborne.selenide.junit.ScreenShooter
 
change(By) - Method in class com.codeborne.selenide.JQuery
Trigger "onchange" event on given element
change(By, int) - Method in class com.codeborne.selenide.JQuery
Trigger "onchange" event on given element
CHROME - Static variable in class com.codeborne.selenide.WebDriverRunner
 
cleanupWebDriverExceptionMessage(WebDriverException) - Static method in class com.codeborne.selenide.WebDriverRunner
 
clearBrowserCache() - Static method in class com.codeborne.selenide.WebDriverRunner
 
closeWebDriver() - Static method in class com.codeborne.selenide.WebDriverRunner
 
com.codeborne.selenide - package com.codeborne.selenide
 
com.codeborne.selenide.impl - package com.codeborne.selenide.impl
 
com.codeborne.selenide.junit - package com.codeborne.selenide.junit
 
Condition - Class in com.codeborne.selenide
 
Condition(String, boolean) - Constructor for class com.codeborne.selenide.Condition
 
Configuration - Class in com.codeborne.selenide
 
Configuration() - Constructor for class com.codeborne.selenide.Configuration
 
confirm(String) - Static method in class com.codeborne.selenide.Selenide
Accept (Click "Yes" or "Ok") in the confirmation dialog (javascript 'alert' or 'confirm').
createDriver() - Method in interface com.codeborne.selenide.WebDriverProvider
 
cssClass(String) - Static method in class com.codeborne.selenide.Condition
 

D

decorate(ClassLoader, Field) - Method in class com.codeborne.selenide.impl.SelenideFieldDecorator
 
Describe - Class in com.codeborne.selenide.impl
 
describe(WebElement) - Static method in class com.codeborne.selenide.impl.Describe
 
disabled - Static variable in class com.codeborne.selenide.Condition
 
disappear - Static variable in class com.codeborne.selenide.Condition
Synonym for #hidden - may be used for better readability: $("#loginLink").should(disappear);
disappears - Static variable in class com.codeborne.selenide.Condition
Synonym for #hidden - may be used for better readability: $("#loginLink").waitUntil(disappears, 9000);
dismiss(String) - Static method in class com.codeborne.selenide.Selenide
Dismiss (click "No" or "Cancel") in the confirmation dialog (javascript 'alert' or 'confirm').

E

ElementLocatorProxy - Class in com.codeborne.selenide.impl
 
ElementsCollection - Class in com.codeborne.selenide
 
ElementsCollection(List<WebElement>) - Constructor for class com.codeborne.selenide.ElementsCollection
 
ElementsContainer - Class in com.codeborne.selenide
 
ElementsContainer() - Constructor for class com.codeborne.selenide.ElementsContainer
 
empty - Static variable in class com.codeborne.selenide.Condition
1) For input element, check that value is missing or empty $("#input").shouldBe(empty) 2) For other elements, check that text is empty $("h2").shouldBe(empty)
enabled - Static variable in class com.codeborne.selenide.Condition
 
exactText(String) - Static method in class com.codeborne.selenide.Condition
$("h1").shouldHave(exactText("Hello"))
executeJavaScript(String) - Static method in class com.codeborne.selenide.Selenide
 
executeJQueryMethod(By, String) - Method in class com.codeborne.selenide.JQuery
 
exist - Static variable in class com.codeborne.selenide.Condition
 
exists() - Method in interface com.codeborne.selenide.SelenideElement
 

F

fail(String) - Static method in class com.codeborne.selenide.WebDriverRunner
 
failed(Throwable, Description) - Method in class com.codeborne.selenide.junit.ScreenShooter
 
failedTests() - Static method in class com.codeborne.selenide.junit.ScreenShooter
 
find(Object, int) - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
find(String) - Method in interface com.codeborne.selenide.SelenideElement
 
find(String, int) - Method in interface com.codeborne.selenide.SelenideElement
 
find(By) - Method in interface com.codeborne.selenide.SelenideElement
 
find(By, int) - Method in interface com.codeborne.selenide.SelenideElement
 
FIREFOX - Static variable in class com.codeborne.selenide.WebDriverRunner
 
focused - Static variable in class com.codeborne.selenide.Condition
 
followLink() - Method in interface com.codeborne.selenide.SelenideElement
Actual for <a href> elements.

G

getActualDelegate() - Method in class com.codeborne.selenide.impl.ElementLocatorProxy
 
getActualDelegate() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
getActualDelegate() - Method in class com.codeborne.selenide.impl.WebElementProxy
 
getDelegate() - Method in class com.codeborne.selenide.impl.ElementLocatorProxy
 
getDelegate() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
getDelegate() - Method in class com.codeborne.selenide.impl.WebElementProxy
 
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
getFocusedElement() - Static method in class com.codeborne.selenide.Selenide
 
getJQuerySelector(By) - Method in class com.codeborne.selenide.JQuery
 
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
 
getWebDriver() - Static method in class com.codeborne.selenide.WebDriverRunner
 

H

hasAttribute(String, String) - Static method in class com.codeborne.selenide.Condition
$("#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
 
hasNotClass(String) - Static method in class com.codeborne.selenide.Condition
 
hasOptions() - Static method in class com.codeborne.selenide.Condition
$("#my-select-box").waitUntil(hasOptions(), 7000);
hasText(String) - Static method in class com.codeborne.selenide.Condition
$("h1").waitUntil(hasText("Hello"), 10000)
hasValue(String) - Static method in class com.codeborne.selenide.Condition
$("#myInput").waitUntil(hasValue("John"), 5000)
haveText(String) - Static method in class com.codeborne.selenide.Condition
Deprecated.
Use $.shouldHave(text("Hello"))
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.
HTMLUNIT - Static variable in class com.codeborne.selenide.WebDriverRunner
To use OperaDriver, you need to include extra dependency to your project:
htmlUnit() - Static method in class com.codeborne.selenide.WebDriverRunner
 

I

ie() - Static method in class com.codeborne.selenide.WebDriverRunner
 
INTERNET_EXPLORER - Static variable in class com.codeborne.selenide.WebDriverRunner
 
invoke(Object, Method, Object[]) - Method in class com.codeborne.selenide.impl.SelenideElementListProxy
 
isDisplayed() - Method in interface com.codeborne.selenide.SelenideElement
Check if this element exists and visible.
isJQueryAvailable() - Method in class com.codeborne.selenide.JQuery
 

J

JQuery - Class in com.codeborne.selenide
 
JQuery() - Constructor for class com.codeborne.selenide.JQuery
 

M

makeUniqueUrlToAvoidIECaching(String, long) - Method in class com.codeborne.selenide.impl.Navigator
 
matchesText(String) - Static method in class com.codeborne.selenide.Condition
$(".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 $("h1").should(matchText("Hello\s*John"))

N

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
 
notPresent - Static variable in class com.codeborne.selenide.Condition
 

O

onClick(By) - Method in class com.codeborne.selenide.JQuery
Calls onclick javascript code.
open(String) - Method in class com.codeborne.selenide.impl.Navigator
The main starting point in your tests.
open(URL) - Method in class com.codeborne.selenide.impl.Navigator
 
open(String) - Static method in class com.codeborne.selenide.Selenide
 
open(URL) - Static method in class com.codeborne.selenide.Selenide
 
OPERA - Static variable in class com.codeborne.selenide.WebDriverRunner
To use OperaDriver, you need to include extra dependency to your project:
options - Static variable in class com.codeborne.selenide.Condition
$("input").shouldHave(options);

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.
PHANTOMJS - Static variable in class com.codeborne.selenide.WebDriverRunner
To use OperaDriver, you need to include extra dependency to your project:
pollingInterval - Static variable in class com.codeborne.selenide.Configuration
 
present - Static variable in class com.codeborne.selenide.Condition
 
pressEnter() - Method in interface com.codeborne.selenide.SelenideElement
Press ENTER.

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).
reportsFolder - Static variable in class com.codeborne.selenide.Configuration
Folder to store screenshots to.

S

ScreenShooter - Class in com.codeborne.selenide.junit
Usage:
scrollTo(By) - Method in class com.codeborne.selenide.JQuery
It works only if jQuery "scroll" plugin is included in page being tested
selected - Static variable in class com.codeborne.selenide.Condition
 
selectOption(String) - Method in interface com.codeborne.selenide.SelenideElement
 
selectOptionByValue(String) - Method in interface com.codeborne.selenide.SelenideElement
 
Selectors - Class in com.codeborne.selenide
 
Selectors() - Constructor for class com.codeborne.selenide.Selectors
 
selectRadio(By, String) - Static method in class com.codeborne.selenide.Selenide
Select radio field by value
Selenide - Class in com.codeborne.selenide
 
Selenide() - Constructor for class com.codeborne.selenide.Selenide
 
SelenideElement - Interface in com.codeborne.selenide
 
SelenideElementListProxy - Class in com.codeborne.selenide.impl
 
SelenideFieldDecorator - Class in com.codeborne.selenide.impl
 
SelenideFieldDecorator(SearchContext) - Constructor for class com.codeborne.selenide.impl.SelenideFieldDecorator
 
setSelf(SelenideElement) - Method in class com.codeborne.selenide.ElementsContainer
 
setValue(String) - Method in interface com.codeborne.selenide.SelenideElement
Clear the text field and enter given text.
should(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
 
shouldBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
 
shouldHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
 
shouldHaveSize(int) - Method in class com.codeborne.selenide.ElementsCollection
 
shouldNot(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
 
shouldNotBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
 
shouldNotHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
 
sleep(long) - Static method in class com.codeborne.selenide.Selenide
Not recommended.
source() - Static method in class com.codeborne.selenide.WebDriverRunner
 
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
 
switchTo() - Static method in class com.codeborne.selenide.Selenide
 

T

takeScreenShot(String) - Static method in class com.codeborne.selenide.WebDriverRunner
 
text(String) - Static method in class com.codeborne.selenide.Condition
$("h1").shouldHave(text("Hello\s*John"))
text() - Method in interface com.codeborne.selenide.SelenideElement
 
timeout - Static variable in class com.codeborne.selenide.Configuration
 
title() - Static method in class com.codeborne.selenide.Selenide
 
toBeSureThatPageIsNotCached() - Method in class com.codeborne.selenide.impl.Navigator
 
toString() - Method in class com.codeborne.selenide.Condition
 
toString() - Method in class com.codeborne.selenide.impl.Describe
 
toString() - Method in class com.codeborne.selenide.impl.ElementLocatorProxy
 
toString() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
toString() - Method in class com.codeborne.selenide.impl.WebElementProxy
 
toString() - Method in interface com.codeborne.selenide.SelenideElement
Displays WebElement in human-readable format
toWebElement() - Method in interface com.codeborne.selenide.SelenideElement
 

U

uploadFromClasspath(String) - Method in interface com.codeborne.selenide.SelenideElement
 
url() - Static method in class com.codeborne.selenide.WebDriverRunner
 

V

val(String) - Method in interface com.codeborne.selenide.SelenideElement
Same as #type(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
$("#input").shouldHave(value("John"))
visible - Static variable in class com.codeborne.selenide.Condition
 

W

WaitingSelenideElement - Class in com.codeborne.selenide.impl
 
waitUntil(Condition, long) - Method in interface com.codeborne.selenide.SelenideElement
 
waitUntilPageIsLoaded() - Method in class com.codeborne.selenide.impl.Navigator
 
waitWhile(Condition, long) - Method in interface com.codeborne.selenide.SelenideElement
 
WebDriverProvider - Interface in com.codeborne.selenide
 
WebDriverRunner - Class in com.codeborne.selenide
 
WebDriverRunner() - Constructor for class com.codeborne.selenide.WebDriverRunner
 
WebElementProxy - Class in com.codeborne.selenide.impl
 
withText(String) - Static method in class com.codeborne.selenide.Selectors
Find element CONTAINING given text (as a substring)
wrap(ElementLocator) - Static method in class com.codeborne.selenide.impl.ElementLocatorProxy
 
wrap(ElementLocator) - Static method in class com.codeborne.selenide.impl.SelenideElementListProxy
 
wrap(WebElement, By, int) - Static method in class com.codeborne.selenide.impl.WaitingSelenideElement
 
wrap(WebElement) - Static method in class com.codeborne.selenide.impl.WebElementProxy
 
$ A B C D E F G H I J M N O P R S T U V W