- $(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)
- 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
-
- 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.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
-
Deprecated.
Use method $(...).scrollTo()
instead - it's jquery-agnostic.
This method works only if jQuery "scroll" plugin is included in page being tested
- 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
- selectOptionByText(WebElement, String) - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
-
- selectOptionByValue(WebElement, String) - Method in class com.codeborne.selenide.impl.WaitingSelenideElement
-
- selectOptionByValue(String) - Method in interface com.codeborne.selenide.SelenideElement
-
Select an option by value from dropdown list
- 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
-
- 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
-
- set(SelenideElement) - Method in class com.codeborne.selenide.impl.SelenideElementListIterator
-
- 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
-
- 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
-
- should(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.
- 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
-
- shouldNot(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Checks that given element does not meet given conditions.
- shouldNotBe(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #shouldNot.
- shouldNotHave(Condition...) - Method in interface com.codeborne.selenide.SelenideElement
-
Synonym for #shouldNot.
- size(int) - Static method in class com.codeborne.selenide.CollectionCondition
-
- size() - Method in class com.codeborne.selenide.ElementsCollection
-
- 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
-
- startMaximized - Static variable in class com.codeborne.selenide.Configuration
-
The browser window is maximized when started.
- succeeded(Description) - Method in class com.codeborne.selenide.junit.ScreenShooter
-
- succeededTests() - Method in class com.codeborne.selenide.junit.ScreenShooter
-
- switchTo() - Static method in class com.codeborne.selenide.Selenide
-