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

$

$(WebElement) - Static method in class com.codeborne.selenide.Selenide
Wrap standard Selenium WebElement into ShouldableWebElement 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) - Static method in class com.codeborne.selenide.Navigation
 
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 waitUntil(By.id("logoutLink"), appears); 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
 
assertChecked(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(criteria).shouldBe(selected)
assertDisabled(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).shouldBe(disabled)
assertElement(By, Condition) - Static method in class com.codeborne.selenide.DOM
 
assertElement(WebElement, Condition) - Static method in class com.codeborne.selenide.DOM
 
assertEnabled(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).shouldBe(enabled)
assertHidden(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).shouldBe(hidden);
assertNotChecked(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(criteria).shouldNotBe(selected)
assertNotSelected(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).shouldNotBe(selected)
assertSelected(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).shouldBe(selected)
assertURL(String) - Static method in class com.codeborne.selenide.Navigation
Assert that URL of current page is #baseUrl + #relativeUrl
assertVisible(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).shouldBe(visible);
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.Navigation
 
browser - Static variable in class com.codeborne.selenide.WebDriverRunner
Which browser to use.
BrowserStrategy - Class in com.codeborne.selenide.junit
Usage:
BrowserStrategy() - Constructor for class com.codeborne.selenide.junit.BrowserStrategy
 
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)

C

callOnClick(By) - Static method in class com.codeborne.selenide.DOM
Calls onclick javascript code, useful for invisible (hovered) elements that cannot be clicked directly
captureFailingTests - Variable in class com.codeborne.selenide.junit.ScreenShooter
 
captureSuccessfulTests - Variable in class com.codeborne.selenide.junit.ScreenShooter
 
checked - Static variable in class com.codeborne.selenide.Condition
Deprecated.
Use "selected" condition
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
 
click(By) - Static method in class com.codeborne.selenide.DOM
 
click(By, int) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(by, index).click() Click the Nth matched element on the page.
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
 
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.ExtendedFieldDecorator
 
defaultWaitingTimeout - Static variable in class com.codeborne.selenide.Selenide
 
Describe - Class in com.codeborne.selenide.impl
 
describe(WebElement) - Static method in class com.codeborne.selenide.impl.Describe
 
describeElement(WebElement) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $("selector").toString()
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: waitUntil(By.id("loginLink"), disappears);
dismiss(String) - Static method in class com.codeborne.selenide.Selenide
Dismiss (click "No" or "Cancel") in the confirmation dialog (javascript 'alert' or 'confirm').
DOM - Class in com.codeborne.selenide
 
DOM() - Constructor for class com.codeborne.selenide.DOM
 

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
$("#input").shouldBe(empty)
enabled - Static variable in class com.codeborne.selenide.Condition
 
executeJavaScript(String) - Static method in class com.codeborne.selenide.Selenide
 
executeJQueryMethod(By, String) - Static method in class com.codeborne.selenide.DOM
Deprecated.
exist - Static variable in class com.codeborne.selenide.Condition
 
exists() - Method in interface com.codeborne.selenide.SelenideElement
 
existsAndVisible(By) - Static method in class com.codeborne.selenide.DOM
 
ExtendedFieldDecorator - Class in com.codeborne.selenide.impl
 
ExtendedFieldDecorator(SearchContext) - Constructor for class com.codeborne.selenide.impl.ExtendedFieldDecorator
 

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
 
FAILURES_LIMIT - Static variable in class com.codeborne.selenide.ScreenShooter
Deprecated.
 
find(Object, int) - Method in class com.codeborne.selenide.impl.WebElementWaitingProxy
 
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(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).followLink();
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.ShouldableWebElementProxy
 
getActualDelegate() - Method in class com.codeborne.selenide.impl.WebElementWaitingProxy
 
getCurrentTestName() - Static method in class com.codeborne.selenide.ScreenShooter
Deprecated.
 
getDelegate() - Method in class com.codeborne.selenide.impl.ElementLocatorProxy
 
getDelegate() - Method in class com.codeborne.selenide.impl.ShouldableWebElementProxy
 
getDelegate() - Method in class com.codeborne.selenide.impl.WebElementWaitingProxy
 
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
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(By) - Static method in class com.codeborne.selenide.DOM
 
getSelectedText() - Method in interface com.codeborne.selenide.SelenideElement
Get text of selected option in select field
getSelectedValue(By) - Static method in class com.codeborne.selenide.DOM
 
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
waitUntil(By.id("#mydiv"), hasAttribute("fileId", "12345"));
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
waitUntil(By.tagName("input"), hasOptions());
hasText(String) - Static method in class com.codeborne.selenide.Condition
assertElement(By,tagName("h1"), hasText("Hello"))
hasValue(String) - Static method in class com.codeborne.selenide.Condition
assertElement(By,id("input"), hasValue("John"))
haveText(String) - Static method in class com.codeborne.selenide.Condition
$("h1").should(haveText("Hello\s*John"))
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.WebDriverRunner
If holdBrowserOpen is true, browser window stays open after running tests.
HTMLUNIT - Static variable in class com.codeborne.selenide.WebDriverRunner
 
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.ShouldableWebElementListProxy
 
isDisplayed() - Method in interface com.codeborne.selenide.SelenideElement
Check if this element exists and visible.
isJQueryAvailable() - Static method in class com.codeborne.selenide.DOM
 
isVisible(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(selector).isDisplayed()

M

matchesText(String) - Static method in class com.codeborne.selenide.Condition
assertElement(By,tagName("h1"), matchesText("Hello"))
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"))
methodInvoker(FrameworkMethod, Object) - Method in class com.codeborne.selenide.ScreenShooter
Deprecated.
 

N

navigateToAbsoluteUrl(URL) - Static method in class com.codeborne.selenide.Navigation
 
navigateToAbsoluteUrl(String) - Static method in class com.codeborne.selenide.Navigation
 
Navigation - Class in com.codeborne.selenide
 
Navigation() - Constructor for class com.codeborne.selenide.Navigation
 
notPresent - Static variable in class com.codeborne.selenide.Condition
 

O

open(String) - Static method in class com.codeborne.selenide.Navigation
The main starting point in your tests.
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
 
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.Navigation
Reload current page
remote - Static variable in class com.codeborne.selenide.WebDriverRunner
URL of remote web driver (in case of using Selenium Grid).
reportsFolder - Static variable in class com.codeborne.selenide.WebDriverRunner
Folder to store screenshots to.
runChild(FrameworkMethod, RunNotifier) - Method in class com.codeborne.selenide.ScreenShooter
Deprecated.
 

S

ScreenShooter - Class in com.codeborne.selenide.junit
Usage:
ScreenShooter - Class in com.codeborne.selenide
Deprecated.
Use com.codeborne.selenide.junit.ScreenShooter TestWatcher instead,
ScreenShooter(Class<?>) - Constructor for class com.codeborne.selenide.ScreenShooter
Deprecated.
 
scrollTo(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
select(By) - Static method in class com.codeborne.selenide.DOM
 
selected - Static variable in class com.codeborne.selenide.Condition
 
selectOption(By, String) - Static method in class com.codeborne.selenide.DOM
 
selectOption(String) - Method in interface com.codeborne.selenide.SelenideElement
 
selectOptionByText(By, String) - Static method in class com.codeborne.selenide.DOM
 
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
 
setSelf(ShouldableWebElement) - Method in class com.codeborne.selenide.ElementsContainer
 
setValue(By, String) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(by).setValue(value)
setValue(By, int, String) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(by, index).setValue(value)
setValue(WebElement, String) - Static method in class com.codeborne.selenide.DOM
 
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
 
ShouldableWebElement - Interface in com.codeborne.selenide
 
ShouldableWebElementListProxy - Class in com.codeborne.selenide.impl
 
ShouldableWebElementProxy - Class in com.codeborne.selenide.impl
 
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.Navigation
Not recommended.
source() - Static method in class com.codeborne.selenide.Navigation
 
startMaximized - Static variable in class com.codeborne.selenide.WebDriverRunner
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
 
title() - Static method in class com.codeborne.selenide.Navigation
 
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.ShouldableWebElementProxy
 
toString() - Method in class com.codeborne.selenide.impl.WebElementWaitingProxy
 
toString() - Method in interface com.codeborne.selenide.SelenideElement
Displays WebElement in human-readable format
toWebElement() - Method in interface com.codeborne.selenide.SelenideElement
 
triggerChangeEvent(By) - Static method in class com.codeborne.selenide.DOM
Deprecated.
triggerChangeEvent(By, int) - Static method in class com.codeborne.selenide.DOM
Deprecated.

U

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

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

waitFor(By) - Static method in class com.codeborne.selenide.DOM
 
waitFor(String) - Static method in class com.codeborne.selenide.DOM
 
waitFor(By, Condition) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(elementSelector).shouldBe(condition)
waitFor(By, Condition, long) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(elementSelector).waitUntil(condition, timeoutMs);
waitFor(By, int, Condition, long) - Static method in class com.codeborne.selenide.DOM
Deprecated.
Use $(elementSelector, index).waitUntil(condition, timeoutMs);
waitUntil(By, Condition) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(String, Condition) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(By, int, Condition) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(String, int, Condition) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(By, Condition, long) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(String, Condition, long) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(String, int, Condition, long) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(By, int, Condition, long) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(WebElement, By, int, Condition) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(WebElement, By, int, Condition, long) - Static method in class com.codeborne.selenide.DOM
 
waitUntil(Condition, long) - Method in interface com.codeborne.selenide.SelenideElement
 
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
 
WebElementWaitingProxy - 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.ShouldableWebElementListProxy
 
wrap(WebElement) - Static method in class com.codeborne.selenide.impl.ShouldableWebElementProxy
 
wrap(WebElement, By, int) - Static method in class com.codeborne.selenide.impl.WebElementWaitingProxy
 
$ A B C D E F G H I M N O P R S T U V W