| Class and Description |
|---|
| com.codeborne.selenide.impl.FileDownloader
Use com.codeborne.selenide.impl.DownloadFileWithHttpRequest instead
|
| Field and Description |
|---|
| com.codeborne.selenide.Configuration.chromeSwitches
this options allowed only a single switch.
Please use instead more generic -Dchromeoptions.args=
or use -Dchromeoptions.prefs=
Value of "chrome.switches" parameter (in case of using Chrome driver).
Can be configured either programmatically or by system property,
i.e. "-Dselenide.chrome.switches=--disable-popup-blocking".
Default value: none |
| com.codeborne.selenide.WebDriverRunner.IE |
| com.codeborne.selenide.Condition.present
please use
Condition.exist instead, "present" is ambiguous
Synonym for Condition.exist.
Sample: |
| Method and Description |
|---|
| com.codeborne.selenide.Selenide.$(WebElement, By)
please use $(parent).$(By) which is the same
(method will not be removed until 4.x or later)
|
| com.codeborne.selenide.Selenide.$(WebElement, By, int)
please use $(parent).$(By, int) which is the same
(method will not be removed until 4.x or later)
|
| com.codeborne.selenide.Selenide.$(WebElement, String)
please use $(parent).$(String) which is the same
(method will not be removed until 4.x or later)
|
| com.codeborne.selenide.Selenide.$(WebElement, String, int)
please use $(parent).$(String, int) which is the same
(method will not be removed until 4.x or later)
|
| com.codeborne.selenide.Selenide.$$(WebElement, By)
please use $(parent).$$(By) which is the same
(method will not be removed until 4.x or later)
|
| com.codeborne.selenide.Selenide.$$(WebElement, String)
please use $(parent).$$(String) which is the same
(method will not be removed until 4.x or later)
|
| com.codeborne.selenide.SelenideElement.followLink() |
| com.codeborne.selenide.ElementsCollection.getTexts()
Use method com.codeborne.selenide.ElementsCollection#texts() that returns List instead of array
|
| com.codeborne.selenide.ElementsCollection.getTexts(Collection<WebElement>)
Use method com.codeborne.selenide.ElementsCollection#texts(java.util.Collection)
that returns List instead of array
|
| com.codeborne.selenide.Condition.hasAttribute(String, String)
please use
Condition.attribute(String, String) instead
Sample:
|
| com.codeborne.selenide.Condition.hasClass(String)
please use
Condition.cssClass(String) instead of this method, which is exactly the same |
| com.codeborne.selenide.Condition.hasClass(WebElement, String)
don't use this method, it is public by accident, and will be turned to private soon
|
| com.codeborne.selenide.Condition.hasText(String)
please use
Condition.text(String) instead
Sample: Case insensitive NB! Ignores multiple whitespaces between words |
| com.codeborne.selenide.Condition.hasValue(String)
please use
Condition.value(String) instead
Sample: |
| com.codeborne.selenide.Selenide.selectRadio(By, String)
Not recommended. Use method
$(radioField).selectRadio(value); instead
Select radio field by value |