Yes! We released Selenide 5.12.0.
Most of the changes are about browser capabilities.
We fixed an old problem with
People had been complaining for years about
ChromeOptions: some of these settings could be lost in some circumstances.
It was caused by an old bug in Selenium webdriver, which seems to be lost and forgotten.
But it seems that we have found a simple workaround for this problem.
- If it helped you - please share you feedback.
- If it didn’t help - please register a github issue. We will work out another hack. :)
Special thanks to those experiments that didn’t get to the release, but inspired it:
We disabled to annoying dialog “save password?”
We adeed “mobile emulation” mode in grid
Since Selenide 5.6.1, you can run Chrome in “mobile emulation” mode:
java -Dchromeoptions.mobileEmulation="deviceName=Nexus 5"
Recently we found that this option only works when running Chrome locally, and was not passed to the remote Chrome.
Now we fixed it: when running Chrome in Grid, we pass all options that are used for local Chrome (except “downloads folder”).
We simplified Firefox setup: now without profile
When opening a Firefox browser, Selenide created a new profile (
FirefoxProfile) - at least to set a “downloads folder” setting.
Recently we found that using profile causes some limitations, and generally is not needed (I guess profile was needed for the legacy firefox driver).
Now we don’t create a profile by default.
- Instead, we set downloads folder via
- We only create profile if you set some system settings starting with
"ACCEPT_INSECURE_CERTS" setting for chromium-based Edge versions
Starting from some version, IE and Edge browser stopped supporting
(which enables self-signed SSL certificates). So we removed this setting for IE and Edge (starting from Selenide 5.9.0).
Recently we found that latest versions of Edge browser (which are built on Chromium engine) do support this setting.
So we set
"ACCEPT_INSECURE_CERTS" again for Edge 75 and newer.
NB! Selenide can know Edge version only if EdgeDriver was downloaded with WebDriverManager (which is enabled by default in Selenide).
We upgraded to WebDriverManager 4.0.0
- Support for Firefox 76
- Support for Edge 81, 83, 84
- Upgraded Apache HttpClient from 4.x to 5.0
We upgraded to browserup-proxy-core:2.1.0
Just in case.
We fixed name of screenshot folder скриншота ‘emptyMethod’
This issue was specific to JUnit 5.
Annotated most of the public Selenide methods with
It will help IDEA (and hopefully other IDEs) to better highlight issues in your tests.
It will also help Kotlin users to use nullable/non-nullable types.
- We published Selenide Roadmap. Feel free to share your feedback!
- Vide from pro:TEST meetup - Czech, 28.04.2020
- Video from QA meetup - Slovak, 12.05.2020