You probably didn’t know, but today, February 24, is the main holiday in Estonia - Independence Day. Exactly 103 years ago, Estonia was proclaimed an independent democratic republic.
And 93 years later in Estonia, in the casemates of Codeborne company, Selenide library was born. Isn’t that a miracle?
So we dedicate our new release Selenide 5.19.0 to Independence Day.
We fixed drag’and’drop, finally!
Selenide has had method
$.dragAndDropTo() for years, but de-factor it doesn’t work. Under the hood it uses
Actions, and something was broken in it. It just doesn’t drag the element.
See issue 1110.
We also released a
selenide-appium:1.6.2 update which has method
so that it works on mobile devices too. See PR #53.
We fixed method
We improved description of
There is one tricky method in Selenide collections:
It takes a “snapshot” of the collection (fetches its elements only once), and doesn’t reload them from browser anymore. It may be useful to speed up your tests in case of big collections. But only if you are sure that the collection elements will not change anymore.
There was one tiny problem: such a snapshot didn’t look nice in reports. For example, this line:
when failed, looked in the report like this:
List size mismatch: expected: = 3, actual: 2, collection: $$(2 elements)
The description doesn’t contain selector of the original collection, only
Now it also contains the selector:
List size mismatch: expected: = 3, actual: 2, collection: #root li.snapshot(2 elements)
It returns the same value that you set with method
Normally you don’t need this method. But it may ne useful for those who generate their own reports. Who knows, probably some of you is developing an Allure killer…
Added “refresh” and other events to Selenide log
There is a bunch of method in Selenide that are not related to web elements (like
And we recently found that some of these methods were not shown in Selenide/Allure reports.
Not fatal, of course, but still, someone needs these reports for some reason…
Now we fixed it, and the following actions will be added to reports:
@Nullable annotations to
Probably the most import is
@Nullable annotation for method
WebDriverRunner.getSelenideProxy(): it was not
obvious that this method can return
null if the proxy is not started.
Now such an error will be highlighted in your IDE.
Fixed Selenide own tests on non-EN machines
Selenide user @vrossellotravelc tried to build selenide project on a machine which has a default language other than English (was it French or Spanish?)
We found that a couple of Selenide own tests contained hard-coded formatting of
Duration, which can differ
in other locales.
Now those tests are fixed so that it cannot happen anymore. How? Welcome to the PR!
The latest Selenide downloads statistics:
That’s it for today.
While you are updating, I’m going to find a glass of vodka and a sprat sandwich.
It’s a tradition in Estonia for independence day, you know.