- $(WebElement) - Static method in class com.codeborne.selenide.Selenide
-
Wrap standard Selenium WebElement into SelenideElement to use additional methods like shouldHave(), selectOption() etc.
- $(String) - Static method in class com.codeborne.selenide.Selenide
-
Find the first element matching given CSS selector
- $(By) - Static method in class com.codeborne.selenide.Selenide
-
Find the first element matching given CSS selector
- $(By, int) - Static method in class com.codeborne.selenide.Selenide
-
- $(WebElement, String) - Static method in class com.codeborne.selenide.Selenide
-
Find the first element matching given CSS selector
- $(String, int) - Static method in class com.codeborne.selenide.Selenide
-
Find the Nth element matching given criteria
- $(WebElement, String, int) - Static method in class com.codeborne.selenide.Selenide
-
Find the Nth element matching given criteria
- $(WebElement, By) - Static method in class com.codeborne.selenide.Selenide
-
- $(WebElement, By, int) - Static method in class com.codeborne.selenide.Selenide
-
- $(String) - Method in interface com.codeborne.selenide.SelenideElement
-
- $(String, int) - Method in interface com.codeborne.selenide.SelenideElement
-
com.codeborne.selenide.SelenideElement#find(java.lang.String)
- $(By) - Method in interface com.codeborne.selenide.SelenideElement
-
com.codeborne.selenide.SelenideElement#find(java.lang.String)
- $(By, int) - Method in interface com.codeborne.selenide.SelenideElement
-
com.codeborne.selenide.SelenideElement#find(java.lang.String)
- $$(Collection<? extends WebElement>) - Static method in class com.codeborne.selenide.Selenide
-
- $$(String) - Static method in class com.codeborne.selenide.Selenide
-
Find all elements matching given CSS selector.
- $$(By) - Static method in class com.codeborne.selenide.Selenide
-
Find all elements matching given CSS selector.
- $$(WebElement, String) - Static method in class com.codeborne.selenide.Selenide
-
Find all elements matching given CSS selector inside given parent element
Methods returns an ElementsCollection which is a list of WebElement objects that can be iterated,
and at the same time is implementation of WebElement interface, meaning that you can call methods .sendKeys(), click() etc.
- $$(WebElement, By) - Static method in class com.codeborne.selenide.Selenide
-
Find all elements matching given criteria inside given parent element
- $$(String) - Method in interface com.codeborne.selenide.SelenideElement
-
com.codeborne.selenide.SelenideElement#findAll(java.lang.String)
- $$(By) - Method in interface com.codeborne.selenide.SelenideElement
-
com.codeborne.selenide.SelenideElement#findAll(java.lang.String)
- generateScreenshotFileName() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- get(int) - Method in class com.codeborne.selenide.ElementsCollection
-
- getActualDelegate() - Method in class com.codeborne.selenide.impl.CollectionElement
-
- getActualDelegate() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
-
- getActualDelegate() - Method in class com.codeborne.selenide.impl.WebElementProxy
-
- getActualElements() - Method in class com.codeborne.selenide.impl.BySelectorCollection
-
- getActualElements() - Method in class com.codeborne.selenide.impl.FilteringCollection
-
- getActualElements() - Method in interface com.codeborne.selenide.impl.WebElementsCollection
-
- getActualElements() - Method in class com.codeborne.selenide.impl.WebElementsCollectionWrapper
-
- 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.
- getCurrentUrl() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
-
- getDelegate() - Method in class com.codeborne.selenide.impl.CollectionElement
-
- getDelegate() - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
-
- getDelegate() - Method in class com.codeborne.selenide.impl.WebElementProxy
-
- getDuration() - Method in class com.codeborne.selenide.impl.SelenideLog
-
- getDuration() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getElement() - Method in class com.codeborne.selenide.impl.SelenideLog
-
- getElement() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getElement(By) - Static method in class com.codeborne.selenide.Selenide
-
Find the first element matching given criteria
- getElement(By, int) - Static method in class com.codeborne.selenide.Selenide
-
Find the Nth element matching given criteria
- getElements(By) - Static method in class com.codeborne.selenide.Selenide
-
Find all elements matching given CSS selector
- getFileName(String, HttpResponse) - Method in class com.codeborne.selenide.impl.FileDownloader
-
- getFileNameFromContentDisposition(String, String) - Method in class com.codeborne.selenide.impl.FileDownloader
-
- getFocusedElement() - Static method in class com.codeborne.selenide.Selenide
-
- getJavascriptErrors() - Static method in class com.codeborne.selenide.Selenide
-
Get JavaScript errors that happened on this page.
- getJQuerySelector(By) - Method in class com.codeborne.selenide.JQuery
-
Deprecated.
- getJsErrors() - Method in error com.codeborne.selenide.ex.UIAssertionError
-
Get all javascript errors found during test execution
- getMessage() - Method in error com.codeborne.selenide.ex.UIAssertionError
-
- getPageImage(WebDriver) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- getPageSource() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
-
- getScreenshot() - Method in error com.codeborne.selenide.ex.UIAssertionError
-
Get path to screenshot taken after failed test
- getScreenShotAsFile() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- getScreenShotAsFile() - Static method in class com.codeborne.selenide.Screenshots
-
- getScreenshotFileName(String, String) - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- getScreenshots() - Method in class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- getSearchCriteria() - Method in class com.codeborne.selenide.impl.WebElementProxy
-
- getSelectedOption() - Method in interface com.codeborne.selenide.SelenideElement
-
Find selected option from this select field
- getSelectedRadio(By) - Static method in class com.codeborne.selenide.Selenide
-
- getSelectedText() - Method in interface com.codeborne.selenide.SelenideElement
-
Get text of selected option in select field
- getSelectedValue() - Method in interface com.codeborne.selenide.SelenideElement
-
Get value of selected option in select field
- getSelf() - Method in class com.codeborne.selenide.ElementsContainer
-
- getStatus() - Method in class com.codeborne.selenide.impl.SelenideLog
-
- getStatus() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getSubject() - Method in class com.codeborne.selenide.impl.SelenideLog
-
- getSubject() - Method in interface com.codeborne.selenide.logevents.LogEvent
-
- getTexts() - Method in class com.codeborne.selenide.ElementsCollection
-
- getTexts(Collection<WebElement>) - Static method in class com.codeborne.selenide.ElementsCollection
-
Fail-safe method for retrieving texts of given elements.
- getWebDriver() - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
-
- getWebDriver() - Static method in class com.codeborne.selenide.WebDriverRunner
-
Get the underlying instance of Selenium WebDriver.
- getWebDriverLogs(String) - Static method in class com.codeborne.selenide.Selenide
-
Same as com.codeborne.selenide.Selenide#getWebDriverLogs(java.lang.String, java.util.logging.Level)
EXPERIMENTAL! Use with caution.
- getWebDriverLogs(String, Level) - Static method in class com.codeborne.selenide.Selenide
-
EXPERIMENTAL! Use with caution.
- 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
- screenshotCounter - Variable in class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- ScreenShotLaboratory - Class in com.codeborne.selenide.impl
-
- ScreenShotLaboratory() - Constructor for class com.codeborne.selenide.impl.ScreenShotLaboratory
-
- screenshots - Static variable in class com.codeborne.selenide.Configuration
-
Does Selenide need to take screenshots on failing tests.
- Screenshots - Class in com.codeborne.selenide
-
- Screenshots() - Constructor for class com.codeborne.selenide.Screenshots
-
- screenshots - Static variable in class com.codeborne.selenide.Screenshots
-
- scrollTo(By) - Method in class com.codeborne.selenide.JQuery
-
- scrollTo() - Method in interface com.codeborne.selenide.SelenideElement
-
Ask browser to scroll to this element
- selected - Static variable in class com.codeborne.selenide.Condition
-
Checks that element is selected
- selectOption(String) - Method in interface com.codeborne.selenide.SelenideElement
-
Select an option from dropdown list
- selectOptionByValue(String) - Method in interface com.codeborne.selenide.SelenideElement
-
Select an option by value from dropdown list
- selector(By) - Static method in class com.codeborne.selenide.impl.Describe
-
- selectorMode - Static variable in class com.codeborne.selenide.Configuration
-
EXPERIMENTAL
Choose how Selenide should retrieve web elements: using default CSS or Sizzle (CSS3)
- Selectors - Class in com.codeborne.selenide
-
- Selectors() - Constructor for class com.codeborne.selenide.Selectors
-
- Selectors.ByText - Class in com.codeborne.selenide
-
- Selectors.WithText - Class in com.codeborne.selenide
-
- selectRadio(By, String) - Static method in class com.codeborne.selenide.Selenide
-
Select radio field by value
- 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(Iterator<WebElement>) - Constructor for class com.codeborne.selenide.impl.SelenideElementIterator
-
- SelenideElementListIterator - Class in com.codeborne.selenide.impl
-
- SelenideElementListIterator(ListIterator<WebElement>) - Constructor for class com.codeborne.selenide.impl.SelenideElementListIterator
-
- SelenideElementListProxy - Class in com.codeborne.selenide.impl
-
- SelenideFieldDecorator - Class in com.codeborne.selenide.impl
-
- SelenideFieldDecorator(SearchContext) - Constructor for class com.codeborne.selenide.impl.SelenideFieldDecorator
-
- SelenideLog - Class in com.codeborne.selenide.impl
-
- SelenideLog(String, String) - Constructor for class com.codeborne.selenide.impl.SelenideLog
-
- SelenideLogger - Class in com.codeborne.selenide.impl
-
EXPERIMENTAL
to be refactored soon
Logs Selenide test steps and notifies all registered LogEventListener about it
- SelenideLogger() - Constructor for class com.codeborne.selenide.impl.SelenideLogger
-
- SelenideLogger.EventStatus - Enum in com.codeborne.selenide.impl
-
- serialize() - Method in class com.codeborne.selenide.impl.Describe
-
- set(SelenideElement) - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
-
- setProxy(Proxy) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
-
- setProxy(Proxy) - Static method in class com.codeborne.selenide.WebDriverRunner
-
- setSelected(boolean) - Method in interface com.codeborne.selenide.SelenideElement
-
Set checkbox state to CHECKED or UNCHECKED.
- setSelf(SelenideElement) - Method in class com.codeborne.selenide.ElementsContainer
-
- setStatus(SelenideLogger.EventStatus) - Method in class com.codeborne.selenide.impl.SelenideLog
-
- setValue(String) - Method in interface com.codeborne.selenide.SelenideElement
-
Clear the text field, enter given text and trigger "change" event.
- setWebDriver(WebDriver) - Method in class com.codeborne.selenide.impl.WebDriverThreadLocalContainer
-
- setWebDriver(WebDriver) - Static method in class com.codeborne.selenide.WebDriverRunner
-
Tell Selenide use your provided WebDriver instance.
- shortly(WebElement) - Static method in class com.codeborne.selenide.impl.Describe
-
- shortly(By) - Static method in class com.codeborne.selenide.impl.Describe
-
- should(String, CollectionCondition...) - Method in class com.codeborne.selenide.ElementsCollection
-
- should(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Checks that given element meets all of given conditions.
- should(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Checks that given element meets all of given conditions.
- shouldBe(CollectionCondition...) - Method in class com.codeborne.selenide.ElementsCollection
-
$$(".error").shouldBe(empty)
- shouldBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #should.
- shouldBe(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
- shouldHave(CollectionCondition...) - Method in class com.codeborne.selenide.ElementsCollection
-
$$(".error").shouldHave(size(3))
$$(".error").shouldHave(texts("Error1", "Error2"))
- shouldHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #should.
- shouldHave(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
- shouldHaveSize(int) - Method in class com.codeborne.selenide.ElementsCollection
-
- shouldNot(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Checks that given element does not meet given conditions.
- shouldNot(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
- shouldNotBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #shouldNot.
- shouldNotBe(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
- shouldNotHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #shouldNot.
- shouldNotHave(String, Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
- size(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
- size() - Method in class com.codeborne.selenide.ElementsCollection
-
- sizzleLoaded() - Method in class com.codeborne.selenide.impl.WebElementSelector
-
- sizzleSource - Variable in class com.codeborne.selenide.impl.WebElementSelector
-
- sleep(long) - Static method in class com.codeborne.selenide.Selenide
-
Not recommended.
- source() - Static method in class com.codeborne.selenide.WebDriverRunner
-
- 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.logevents.PrettyReportCreator
-
- startMaximized - Static variable in class com.codeborne.selenide.Configuration
-
The browser window is maximized when started.
- succeeded(Description) - Method in class com.codeborne.selenide.junit.ScreenShooter
-
- succeededTests() - Method in class com.codeborne.selenide.junit.ScreenShooter
-
- supportsModalDialogs() - Static method in class com.codeborne.selenide.WebDriverRunner
-
Does this browser support "alert" and "confirm" dialogs.
- switchTo() - Static method in class com.codeborne.selenide.Selenide
-
- switchToWindow(String) - Static method in class com.codeborne.selenide.Selenide
-
Switch to window/tab by title
- switchToWindow(int) - Static method in class com.codeborne.selenide.Selenide
-
Switch to window/tab by index
NB! Order of windows/tabs can be different in different browsers, see Selenide tests.