- $(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
-
- $(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
-
- $(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
-
Initialize collection with Elements
- $$(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
-
- $$(WebElement, By) - Static method in class com.codeborne.selenide.Selenide
-
- $$(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)
- 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
-
- checkCondition(String, String, Condition, boolean) - Method in class com.codeborne.selenide.impl.WebElementSource
-
- CHROME - Static variable in class com.codeborne.selenide.WebDriverRunner
-
- chromeSwitches - Static variable in class com.codeborne.selenide.Configuration
-
Value of "chrome.switches" parameter (in case of using Chrome driver).
- 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
- Click - Class in com.codeborne.selenide.commands
-
- Click() - Constructor for class com.codeborne.selenide.commands.Click
-
- click(WebElement) - Method in class com.codeborne.selenide.commands.Click
-
- 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.
- cloneInputField(SelenideElement, WebElement) - Method in class com.codeborne.selenide.commands.UploadFile
-
- 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
- collection - Static variable in class com.codeborne.selenide.commands.Commands
-
- collection - Variable in class com.codeborne.selenide.impl.SelenideElementIterator
-
- CollectionCondition - Class in com.codeborne.selenide
-
- CollectionCondition() - Constructor for class com.codeborne.selenide.CollectionCondition
-
- CollectionElement - Class in com.codeborne.selenide.impl
-
- collectionsPollingInterval - Static variable in class com.codeborne.selenide.Configuration
-
Interval in milliseconds, when checking if a new collection elements appeared
Default value: 200 (milliseconds)
- collectionsTimeout - Static variable in class com.codeborne.selenide.Configuration
-
Timeout in milliseconds for a collection to get completely loaded
Conditions will be checked at this point at latest, even if they are still loading
Default value: 6000 (milliseconds)
- 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.commands - package com.codeborne.selenide.commands
-
Implementation of built-in Selenide commands.
- 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
-
- com.codeborne.selenide.testng - package com.codeborne.selenide.testng
-
Selenide integration with TestNG
- com.codeborne.selenide.webdriver - package com.codeborne.selenide.webdriver
-
- Command<T> - Interface in com.codeborne.selenide
-
- Commands - Class in com.codeborne.selenide.commands
-
- Commands() - Constructor for class com.codeborne.selenide.commands.Commands
-
- commitStep(SelenideLog, Throwable) - Static method in class com.codeborne.selenide.logevents.SelenideLogger
-
- commitStep(SelenideLog, LogEvent.EventStatus) - Static method in class com.codeborne.selenide.logevents.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
-
Assertion modes available
- 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 - Class in com.codeborne.selenide.commands
-
- ContextClick() - Constructor for class com.codeborne.selenide.commands.ContextClick
-
- 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.ElementFinder
-
- createElementNotFoundError(Condition, Throwable) - Method in class com.codeborne.selenide.impl.WebElementSource
-
- 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
-
- 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
-
- fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.collections.SizeGreaterThan
-
- fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.collections.SizeGreaterThanOrEqual
-
- fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.collections.SizeLessThan
-
- fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.collections.SizeLessThanOrEqual
-
- fail(WebElementsCollection, List<WebElement>, Exception, long) - Method in class com.codeborne.selenide.collections.SizeNotEqual
-
- 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
-
Filters collection elements based on the given condition
- filterBy(Condition) - Method in class com.codeborne.selenide.ElementsCollection
-
Filters collection elements based on the given condition
- FilteringCollection - Class in com.codeborne.selenide.impl
-
- FilteringCollection(WebElementsCollection, Predicate<WebElement>) - Constructor for class com.codeborne.selenide.impl.FilteringCollection
-
- Find - Class in com.codeborne.selenide.commands
-
- Find() - Constructor for class com.codeborne.selenide.commands.Find
-
- find(Condition) - Method in class com.codeborne.selenide.ElementsCollection
-
Finde the first element which met the given condition
- find(SelenideElement, Object, int) - Method in class com.codeborne.selenide.impl.ElementFinder
-
- find(SelenideElement, Object, int) - Method in class com.codeborne.selenide.impl.WebElementSource
-
- 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 - Class in com.codeborne.selenide.commands
-
- FindAll() - Constructor for class com.codeborne.selenide.commands.FindAll
-
- findAll() - Method in class com.codeborne.selenide.impl.ElementFinder
-
- findAll() - Method in class com.codeborne.selenide.impl.WebElementSource
-
- 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)
- findAndAssertElementIsVisible() - Method in class com.codeborne.selenide.impl.WebElementSource
-
- findBy(Condition) - Method in class com.codeborne.selenide.ElementsCollection
-
Finde the first element which met the given condition
- findElement(SearchContext, By) - Method in class com.codeborne.selenide.impl.WebElementSelector
-
- findElements(SearchContext, By) - Method in class com.codeborne.selenide.impl.WebElementSelector
-
- findFileInClasspath(String) - Method in class com.codeborne.selenide.commands.UploadFileFromClasspath
-
- 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
-
- fireChangeEvent(WebElement) - Method in class com.codeborne.selenide.impl.Events
-
- fireEvent(WebElement, String...) - Method in class com.codeborne.selenide.impl.Events
-
- FIREFOX - Static variable in class com.codeborne.selenide.WebDriverRunner
-
- first() - Method in class com.codeborne.selenide.ElementsCollection
-
return the first element of the collection
- focused - Static variable in class com.codeborne.selenide.Condition
-
Check if browser focus is currently in given element.
- FollowLink - Class in com.codeborne.selenide.commands
-
- FollowLink() - Constructor for class com.codeborne.selenide.commands.FollowLink
-
- 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
-
- generateScreenshotFileName() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- get(int) - Method in class com.codeborne.selenide.ElementsCollection
-
- 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
-
- 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.
- GetAttribute - Class in com.codeborne.selenide.commands
-
- GetAttribute() - Constructor for class com.codeborne.selenide.commands.GetAttribute
-
- GetClosest - Class in com.codeborne.selenide.commands
-
- GetClosest() - Constructor for class com.codeborne.selenide.commands.GetClosest
-
- 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
-
- GetDataAttribute - Class in com.codeborne.selenide.commands
-
- GetDataAttribute() - Constructor for class com.codeborne.selenide.commands.GetDataAttribute
-
- getDuration() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getDuration() - Method in class com.codeborne.selenide.logevents.SelenideLog
-
- getElement() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getElement() - Method in class com.codeborne.selenide.logevents.SelenideLog
-
- 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
- getElementOrNull(WebElementSource) - Method in class com.codeborne.selenide.commands.Matches
-
- getElements(By) - Static method in class com.codeborne.selenide.Selenide
-
Find all elements matching given CSS selector
- getError() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getError() - Method in class com.codeborne.selenide.logevents.SelenideLog
-
- 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
-
- GetInnerHtml - Class in com.codeborne.selenide.commands
-
- GetInnerHtml() - Constructor for class com.codeborne.selenide.commands.GetInnerHtml
-
- GetInnerText - Class in com.codeborne.selenide.commands
-
- GetInnerText() - Constructor for class com.codeborne.selenide.commands.GetInnerText
-
- getJavascriptErrors() - Static method in class com.codeborne.selenide.Selenide
-
Get JavaScript errors that happened on this page.
- 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
- GetName - Class in com.codeborne.selenide.commands
-
- GetName() - Constructor for class com.codeborne.selenide.commands.GetName
-
- 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
-
- GetParent - Class in com.codeborne.selenide.commands
-
- GetParent() - Constructor for class com.codeborne.selenide.commands.GetParent
-
- 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.CollectionElement
-
- getSearchCriteria() - Method in class com.codeborne.selenide.impl.ElementFinder
-
- getSearchCriteria() - Method in class com.codeborne.selenide.impl.WebElementSource
-
- getSearchCriteria() - Method in class com.codeborne.selenide.impl.WebElementWrapper
-
- GetSelectedOption - Class in com.codeborne.selenide.commands
-
- GetSelectedOption() - Constructor for class com.codeborne.selenide.commands.GetSelectedOption
-
- 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
-
Returns selected element in radio group
- GetSelectedText - Class in com.codeborne.selenide.commands
-
- GetSelectedText() - Constructor for class com.codeborne.selenide.commands.GetSelectedText
-
- getSelectedText() - Method in interface com.codeborne.selenide.SelenideElement
-
Get text of selected option in select field
- GetSelectedValue - Class in com.codeborne.selenide.commands
-
- GetSelectedValue() - Constructor for class com.codeborne.selenide.commands.GetSelectedValue
-
- getSelectedValue() - Method in interface com.codeborne.selenide.SelenideElement
-
Get value of selected option in select field
- getSelector(Object) - Static method in class com.codeborne.selenide.impl.WebElementSource
-
- getSelf() - Method in class com.codeborne.selenide.ElementsContainer
-
- getStatus() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getStatus() - Method in class com.codeborne.selenide.logevents.SelenideLog
-
- getSubject() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getSubject() - Method in class com.codeborne.selenide.logevents.SelenideLog
-
- GetText - Class in com.codeborne.selenide.commands
-
- GetText() - Constructor for class com.codeborne.selenide.commands.GetText
-
- 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
-
Gets all the texts in elements collection
- getTexts(Collection<WebElement>) - Static method in class com.codeborne.selenide.ElementsCollection
-
Fail-safe method for retrieving texts of given elements.
- GetValue - Class in com.codeborne.selenide.commands
-
- GetValue() - Constructor for class com.codeborne.selenide.commands.GetValue
-
- getValue() - Method in interface com.codeborne.selenide.SelenideElement
-
Get the "value" attribute of the element
- 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)
- getWebDriverLogs(String, Level) - Static method in class com.codeborne.selenide.Selenide
-
Getting and filtering of the WebDriver logs for specified LogType by specified logging level
For example to get WebDriver Browser's console output (including JS info, warnings, errors, etc.
- getWebElement() - Method in class com.codeborne.selenide.impl.CollectionElement
-
- getWebElement() - Method in class com.codeborne.selenide.impl.ElementFinder
-
- getWebElement() - Method in class com.codeborne.selenide.impl.WebElementSource
-
- getWebElement() - Method in class com.codeborne.selenide.impl.WebElementWrapper
-
- GetWrappedElement - Class in com.codeborne.selenide.commands
-
- GetWrappedElement() - Constructor for class com.codeborne.selenide.commands.GetWrappedElement
-
- getWrappedElement() - Method in interface com.codeborne.selenide.SelenideElement
-
- 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
-
If element has one specific cssClass
- 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
-
- 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
-
Used to form human-readable condition expression
Example element.should(be(visible),have(text("abc"))
- 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 - Class in com.codeborne.selenide.commands
-
- Hover() - Constructor for class com.codeborne.selenide.commands.Hover
-
- 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:
- id(String) - Static method in class com.codeborne.selenide.Condition
-
Sample: $("#input").shouldHave(id("myForm"))
- ignoreSelfSignedCerts - Static variable in class com.codeborne.selenide.impl.FileDownloader
-
- index - Variable in class com.codeborne.selenide.impl.SelenideElementIterator
-
- 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 - Class in com.codeborne.selenide.commands
-
- IsDisplayed() - Constructor for class com.codeborne.selenide.commands.IsDisplayed
-
- 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 - Class in com.codeborne.selenide.commands
-
- IsImage() - Constructor for class com.codeborne.selenide.commands.IsImage
-
- isImage() - Method in interface com.codeborne.selenide.SelenideElement
-
Check if image is properly loaded.
- isInvalidSelectorError(Throwable) - Method in class com.codeborne.selenide.impl.Cleanup
-
- 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
-
Is Selenide configured to user Safari browser
- iterator() - Method in class com.codeborne.selenide.ElementsCollection
-
- 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 - Class in com.codeborne.selenide.commands
-
- ScrollTo() - Constructor for class com.codeborne.selenide.commands.ScrollTo
-
- 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(int) - Method in interface com.codeborne.selenide.SelenideElement
-
Select an option from dropdown list (by index)
- selectOption(String) - Method in interface com.codeborne.selenide.SelenideElement
-
Select an option from dropdown list (by text)
- SelectOptionByTextOrIndex - Class in com.codeborne.selenide.commands
-
- SelectOptionByTextOrIndex() - Constructor for class com.codeborne.selenide.commands.SelectOptionByTextOrIndex
-
- SelectOptionByValue - Class in com.codeborne.selenide.commands
-
- SelectOptionByValue() - Constructor for class com.codeborne.selenide.commands.SelectOptionByValue
-
- selectOptionByValue(String) - Method in interface com.codeborne.selenide.SelenideElement
-
Select an option from dropdown list (by value)
- selector(By) - Static method in class com.codeborne.selenide.impl.Describe
-
- selectorMode - Static variable in class com.codeborne.selenide.Configuration
-
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 - Class in com.codeborne.selenide.commands
-
- SelectRadio() - Constructor for class com.codeborne.selenide.commands.SelectRadio
-
- 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
-
- SelenideElementIterator - Class in com.codeborne.selenide.impl
-
- SelenideElementIterator(WebElementsCollection) - Constructor for class com.codeborne.selenide.impl.SelenideElementIterator
-
- SelenideElementListIterator - Class in com.codeborne.selenide.impl
-
- SelenideElementListIterator(WebElementsCollection, int) - 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.logevents
-
- SelenideLog(String, String) - Constructor for class com.codeborne.selenide.logevents.SelenideLog
-
- SelenideLogger - Class in com.codeborne.selenide.logevents
-
Logs Selenide test steps and notifies all registered LogEventListener about it
- SelenideLogger() - Constructor for class com.codeborne.selenide.logevents.SelenideLogger
-
- SelenideTargetLocator - Class in com.codeborne.selenide
-
- set(SelenideElement) - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
-
- setError(Throwable) - Method in class com.codeborne.selenide.logevents.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
-
Sets Selenium Proxy instance
- SetSelected - Class in com.codeborne.selenide.commands
-
- SetSelected() - Constructor for class com.codeborne.selenide.commands.SetSelected
-
- 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.logevents.SelenideLog
-
- SetValue - Class in com.codeborne.selenide.commands
-
- SetValue() - Constructor for class com.codeborne.selenide.commands.SetValue
-
- 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.
- Should - Class in com.codeborne.selenide.commands
-
- Should() - Constructor for class com.codeborne.selenide.commands.Should
-
- Should(String) - Constructor for class com.codeborne.selenide.commands.Should
-
- should(WebElementSource, String, List<Condition>) - Method in class com.codeborne.selenide.commands.Should
-
- 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.
- ShouldBe - Class in com.codeborne.selenide.commands
-
- ShouldBe() - Constructor for class com.codeborne.selenide.commands.ShouldBe
-
- shouldBe(CollectionCondition...) - Method in class com.codeborne.selenide.ElementsCollection
-
$$(".error").shouldBe(empty)
- shouldBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #should.
- ShouldHave - Class in com.codeborne.selenide.commands
-
- ShouldHave() - Constructor for class com.codeborne.selenide.commands.ShouldHave
-
- 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.
- shouldHaveSize(int) - Method in class com.codeborne.selenide.ElementsCollection
-
Checks is the collection is of given size
- ShouldNot - Class in com.codeborne.selenide.commands
-
- ShouldNot() - Constructor for class com.codeborne.selenide.commands.ShouldNot
-
- ShouldNot(String) - Constructor for class com.codeborne.selenide.commands.ShouldNot
-
- shouldNot(SelenideElement, WebElementSource, String, List<Condition>) - Method in class com.codeborne.selenide.commands.ShouldNot
-
- shouldNot(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Checks that given element does not meet given conditions.
- ShouldNotBe - Class in com.codeborne.selenide.commands
-
- ShouldNotBe() - Constructor for class com.codeborne.selenide.commands.ShouldNotBe
-
- shouldNotBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #shouldNot.
- ShouldNotHave - Class in com.codeborne.selenide.commands
-
- ShouldNotHave() - Constructor for class com.codeborne.selenide.commands.ShouldNotHave
-
- shouldNotHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #shouldNot.
- SimpleReport - Class in com.codeborne.selenide.logevents
-
A simple text report of Selenide actions performed during test run
- SimpleReport() - Constructor for class com.codeborne.selenide.logevents.SimpleReport
-
- size(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
Checks that collection has the given size
- size() - Method in class com.codeborne.selenide.ElementsCollection
-
- sizeGreaterThan(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
- SizeGreaterThan - Class in com.codeborne.selenide.collections
-
- SizeGreaterThan(int) - Constructor for class com.codeborne.selenide.collections.SizeGreaterThan
-
- sizeGreaterThanOrEqual(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
- SizeGreaterThanOrEqual - Class in com.codeborne.selenide.collections
-
- SizeGreaterThanOrEqual(int) - Constructor for class com.codeborne.selenide.collections.SizeGreaterThanOrEqual
-
- sizeLessThan(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
- SizeLessThan - Class in com.codeborne.selenide.collections
-
- SizeLessThan(int) - Constructor for class com.codeborne.selenide.collections.SizeLessThan
-
- sizeLessThanOrEqual(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
- SizeLessThanOrEqual - Class in com.codeborne.selenide.collections
-
- SizeLessThanOrEqual(int) - Constructor for class com.codeborne.selenide.collections.SizeLessThanOrEqual
-
- sizeNotEqual(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
- SizeNotEqual - Class in com.codeborne.selenide.collections
-
- SizeNotEqual(int) - Constructor for class com.codeborne.selenide.collections.SizeNotEqual
-
- 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
-
Switch to window/tab/frame/parentFrame/innerFrame/alert.
- Val - Class in com.codeborne.selenide.commands
-
- Val() - Constructor for class com.codeborne.selenide.commands.Val
-
- 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
Same as #getValue()
- value(String) - Static method in class com.codeborne.selenide.Condition
-
Assert that element has given "value" attribute as substring
NB! Ignores difference in non-visible characters like spaces, non-breakable spaces, tabs, newlines etc.
- 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);