JavaScript is disabled on your browser.
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
$
A
B
C
D
E
F
G
H
I
M
N
O
P
R
S
T
U
V
W
$
$(String)
- Static method in class com.codeborne.selenide.
DOM
Find the first element matching given CSS selector
$(By)
- Static method in class com.codeborne.selenide.
DOM
Find the first element matching given CSS selector
$(By, int)
- Static method in class com.codeborne.selenide.
DOM
$(WebElement, String)
- Static method in class com.codeborne.selenide.
DOM
Find the first element matching given CSS selector
$(String, int)
- Static method in class com.codeborne.selenide.
DOM
Find the Nth element matching given criteria
$(WebElement, String, int)
- Static method in class com.codeborne.selenide.
DOM
Find the Nth element matching given criteria
$$(String)
- Static method in class com.codeborne.selenide.
DOM
Find all elements matching given CSS selector.
$$(By)
- Static method in class com.codeborne.selenide.
DOM
Find all elements matching given CSS selector.
$$(WebElement, String)
- Static method in class com.codeborne.selenide.
DOM
Find all elements matching given CSS selector.
A
absoluteUrl(String)
- Static method in class com.codeborne.selenide.
Navigation
actualValue(WebElement)
- Method in class com.codeborne.selenide.
Condition
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");
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
assertDisabled(By)
- Static method in class com.codeborne.selenide.
DOM
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
assertHidden(By)
- Static method in class com.codeborne.selenide.
DOM
Method fails if element does not exists.
assertNotChecked(By)
- Static method in class com.codeborne.selenide.
DOM
assertNotSelected(By)
- Static method in class com.codeborne.selenide.
DOM
assertSelected(By)
- Static method in class com.codeborne.selenide.
DOM
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
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.
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
CHROME
- Static variable 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
Click the Nth matched element on the page.
click()
- Method in class com.codeborne.selenide.
ElementsCollection
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.
DOM
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
defaultWaitingTimeout
- Static variable in class com.codeborne.selenide.
DOM
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.
DOM
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
ElementsCollection
- Class in
com.codeborne.selenide
ElementsCollection(List<WebElement>)
- Constructor for class com.codeborne.selenide.
ElementsCollection
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.
DOM
exist
- Static variable in class com.codeborne.selenide.
Condition
existsAndVisible(By)
- Static method in class com.codeborne.selenide.
DOM
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(String)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
find(String, int)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
find(By)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
find(By, int)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
findElement(By)
- Method in class com.codeborne.selenide.
ElementsCollection
findElements(By)
- Method in class com.codeborne.selenide.
ElementsCollection
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
G
getAttribute(String)
- Method in class com.codeborne.selenide.
ElementsCollection
getCssValue(String)
- Method in class com.codeborne.selenide.
ElementsCollection
getCurrentTestName()
- Static method in class com.codeborne.selenide.
ScreenShooter
Deprecated.
getElement(By)
- Static method in class com.codeborne.selenide.
DOM
Find the first element matching given criteria
getElement(By, int)
- Static method in class com.codeborne.selenide.
DOM
Find the Nth element matching given criteria
getElements(By)
- Static method in class com.codeborne.selenide.
DOM
Find all elements matching given CSS selector
getLocation()
- Method in class com.codeborne.selenide.
ElementsCollection
getSelectedRadio(By)
- Static method in class com.codeborne.selenide.
DOM
getSelectedText(By)
- Static method in class com.codeborne.selenide.
DOM
getSelectedValue(By)
- Static method in class com.codeborne.selenide.
DOM
getSize()
- Method in class com.codeborne.selenide.
ElementsCollection
getTagName()
- Method in class com.codeborne.selenide.
ElementsCollection
getText()
- Method in class com.codeborne.selenide.
ElementsCollection
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.
ShouldableWebElementProxy
invoke(Object, Method, Object[])
- Method in class com.codeborne.selenide.impl.
WebElementWaitingProxy
isDisplayed()
- Method in class com.codeborne.selenide.
ElementsCollection
isEnabled()
- Method in class com.codeborne.selenide.
ElementsCollection
isJQueryAvailable()
- Static method in class com.codeborne.selenide.
DOM
isSelected()
- Method in class com.codeborne.selenide.
ElementsCollection
isVisible(By)
- Static method in class com.codeborne.selenide.
DOM
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
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.
DOM
Create a Page Object instance.
page(T)
- Static method in class com.codeborne.selenide.
DOM
Create a Page Object instance.
PHANTOMJS
- Static variable in class com.codeborne.selenide.
WebDriverRunner
present
- Static variable in class com.codeborne.selenide.
Condition
R
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
It works only if jQuery "scroll" plugin is included in page being tested
select(By)
- Static method in class com.codeborne.selenide.
DOM
selectOption(By, String)
- Static method in class com.codeborne.selenide.
DOM
selectOptionByText(By, String)
- Static method in class com.codeborne.selenide.
DOM
Selectors
- Class in
com.codeborne.selenide
Selectors()
- Constructor for class com.codeborne.selenide.
Selectors
selectRadio(By, String)
- Static method in class com.codeborne.selenide.
DOM
Select radio field by value
sendKeys(CharSequence...)
- Method in class com.codeborne.selenide.
ElementsCollection
setValue(By, String)
- Static method in class com.codeborne.selenide.
DOM
setValue(By, int, String)
- Static method in class com.codeborne.selenide.
DOM
setValue(WebElement, String)
- Static method in class com.codeborne.selenide.
DOM
setValue(String)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
Clear the text field and enter given text.
should(Condition...)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
ShouldableWebElement
- Interface in
com.codeborne.selenide
ShouldableWebElementProxy
- Class in
com.codeborne.selenide.impl
shouldBe(Condition...)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
shouldHave(Condition...)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
shouldNot(Condition...)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
shouldNotBe(Condition...)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
shouldNotHave(Condition...)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
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.
submit()
- Method in class com.codeborne.selenide.
ElementsCollection
succeeded(Description)
- Method in class com.codeborne.selenide.junit.
ScreenShooter
succeededTests()
- Method in class com.codeborne.selenide.junit.
ScreenShooter
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"))
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 interface com.codeborne.selenide.
ShouldableWebElement
Displays WebElement in human-readable format
triggerChangeEvent(By)
- Static method in class com.codeborne.selenide.
DOM
triggerChangeEvent(By, int)
- Static method in class com.codeborne.selenide.
DOM
U
uploadFromClasspath(String)
- Method in interface com.codeborne.selenide.
ShouldableWebElement
url()
- Static method in class com.codeborne.selenide.
Navigation
V
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.
waitFor(By, Condition, long)
- Static method in class com.codeborne.selenide.
DOM
Deprecated.
waitFor(By, int, Condition, long)
- Static method in class com.codeborne.selenide.
DOM
Deprecated.
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
waitWhile(WebElement, By, int, Condition)
- Static method in class com.codeborne.selenide.
DOM
waitWhile(WebElement, By, int, Condition, long)
- Static method in class com.codeborne.selenide.
DOM
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(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
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes