Now we are publishing press release of Selenide 5.2.0 which was released 19.02.2019.
Let’s quickly read what was changed there, and move on to the next versions.
Added aliases for Kotlin
$$ cannot be used as method name in Kotlin, using Selenide in Kotlin initially was not as pleasant as in Java.
Here you can see some examples of how it could be solved.
After long discussions and researches, we decided to add simple aliases for Selenide methods
It’s a little bit longer than
$, but the result is human-readable:
See issue 865.
Added check for selected text
Now you can check that an element has expected selected text:
$("textarea").shouldHave(selectedText("oo ba")); $("textarea").shouldHave(text("foo bar"));
See issue 766.
Improved support for
chromeoptions.prefs system properties
Actually, I am not sure if it’s a useful feature. Probably it’s easier to just implement
But still, we improved it.
Remove an old hack for Chrome maximization
Older versions of Chrome driver could not maximize the browser window. That’s why Selenide had a special hack to maximize Chrome. Now it’s not needed anymore, and we removed the hack.
- Comparative analysis: Selenide vs Geb
- Neodymium: a new framework based on Selenide from Xceptance (Germany)
Post 1 | Post 2
- Akita: testing framework based on Selenide from Alfabank - one of biggest banks in Russia
- Post about layout testing with Selenide from Alfabank
- Post about BDD with Selenide: BDD: Writing an Automated Test Suite isn’t Rocket Science
- And one more post about BDD with Selenide+Cucumber