-
ClassDescriptionTo be removed in following versions. Used only by deprecated method
ElementsCollection.listIterator(int)
.This class works exactly the same asTextReport
since Selenide 6.7.0 - just useTextReport
instead.
-
Annotation InterfaceDescriptionThis annotation is ignored since Selenide 6.7.0
-
FieldDescription
-
MethodDescriptioncom.codeborne.selenide.CollectionCondition.fail
(CollectionSource, List<WebElement>, Exception, long) Please implement methodCollectionCondition.check(CollectionSource)
instead.not needed anymore since the actual value is returned by methodCondition.check(Driver, WebElement)
replace byCondition.check(Driver, WebElement)
Instead of getting attributes, verify them with$$.shouldHave(attributes(...));
.Use eitherElementsCollection.asFixedIterable()
orElementsCollection.asDynamicIterable()
instead.use methodElementsCollection.asFixedIterable()
orElementsCollection.asDynamicIterable()
instead.use methodElementsCollection.asFixedIterable()
orElementsCollection.asDynamicIterable()
instead.Use eitherElementsCollection.asFixedIterable()
orElementsCollection.asDynamicIterable()
instead.Use eitherElementsCollection.asFixedIterable()
orElementsCollection.asDynamicIterable()
instead.Use methodElementsCollection.texts()
instead (or even better, don't use it at all)use methodElementsCollection.asFixedIterable()
orElementsCollection.asDynamicIterable()
instead.You don't really need to get "self" element. Instead, you need to access fields (web elements) of this class.This method is intended only for private usage. Use methodWebDriverContainer.using(WebDriver, SelenideProxyServer, DownloadsFolder, Runnable)
instead.use method {#WebPageSourceExtractor.createFile(Config, WebDriver, String)
} insteadAFAIK "login+password" combination is only used in BASIC authentication. If you need basic auth, useSelenide.open(String, AuthenticationType, Credentials)
withBasicAuthCredentials
parameter.UseSelenideElement.dragAndDrop(DragAndDropOptions)
insteadUseSelenideElement.dragAndDrop(DragAndDropOptions)
insteadUseSelenideElement.dragAndDrop(DragAndDropOptions)
insteadUseSelenideElement.getSelectedOptionText()
insteadUseSelenideElement.getSelectedOptionValue()
insteadUseWebDriverRunner.addListener(WebDriverListener)
instead
-
ConstructorDescriptionUse constructor with domain and tokenClass
WebDriverEventListener
is deprecated since Selenium 4.0.0
Container
instead of abstract classElementsContainer