-
Terminally Deprecated ElementsElementDescriptioninstead of retrieving
IOSDriver
, cast yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.instead of retrievingAndroidDriver
, cast yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.
-
Deprecated FieldsFieldDescriptionDon't use this setting. It leaves the browser and webdriver open. User can later close the browser manually, but the webdriver leaves running forever. To achieve the same effect, just add `sleep(600_000)` in your test.
-
Deprecated MethodsMethodDescriptioninstead of retrieving
AndroidDriver
, cast yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.instead of retrievingIOSDriver
, cast yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.instead of retrievingAndroidDriver
, cast yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.UseAppiumScrollOptions.getMaxSwipeCount()
insteadDon't use this setting. It leaves the browser and webdriver open. User can later close the browser manually, but the webdriver leaves running forever.It's easier to override methodFluentCommand.execute(WebElementSource, Object[])
instead.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
.Use method {SelenideElement.download(DownloadOptions)
} insteadUse method {SelenideElement.download(DownloadOptions)
} insteadThe boolean parameter is not well-readable. We recommend using methodSelenideElement.scrollIntoView(ScrollIntoViewOptions)
instead:- replace
$.scrollIntoView(true)
by$.scrollIntoView(instant().block(start))
- replace
$.scrollIntoView(false)
by$.scrollIntoView(instant().block(end))
instant()
ignores "scroll-behavior" and performs the scrolling instantly.The String parameter is not convenient to write. We recommend using methodSelenideElement.scrollIntoView(ScrollIntoViewOptions)
instead:$.scrollIntoView(instant().block(start))
$.scrollIntoView(instant().block(end).inline(nearest))
instant()
ignores "scroll-behavior" and performs the scrolling instantly.Use methodSelenide.closeWebDriver()
instead - replace
AndroidDriver
, cast yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.