I tried Selenide v5.6.1 on Internet Explorer , but I can not open browser.
No matching capability sets found error has occurred.
When I use IEDriverServer version 3.4.0.0, it works fine.
java
Configuration.browser = "ie";
System.setProperty("webdriver.ie.driver", "my driver path");
open("some url");
log
Started InternetExplorerDriver server (32-bit)
3.150.1.0
Listening on port 14917
Only local connections are allowed
No matching capability sets found.
Unable to match capability set 0: acceptInsecureCerts was 'true', but the IE driver does not allow bypassing insecure (self-signed) SSL certificates
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: '{my host}', ip: '{my ip}', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_222'
Driver info: driver.version: SelenideDriver
selenide.url: https://github.com/selenide/selenide
selenide.baseUrl: http://localhost:8080
remote stacktrace:
org.openqa.selenium.SessionNotCreatedException: No matching capability sets found.
Unable to match capability set 0: acceptInsecureCerts was 'true', but the IE driver does not allow bypassing insecure (self-signed) SSL certificates
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: '{my host}', ip: '{my ip}', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_222'
Driver info: driver.version: SelenideDriver
selenide.url: https://github.com/selenide/selenide
selenide.baseUrl: http://localhost:8080
log
Hmm seems it has to be fixed - we should not set acceptInsecureCerts for IE driver.
Details here https://github.com/selenide/selenide/issues/1039#issuecomment-579259187
@shift-morikawa work around for you here https://github.com/selenide/selenide/issues/1039#issuecomment-579276494
Thank you @BorisOsipov
I've added following code
Configuration.browserCapabilities.setAcceptInsecureCerts(false);
or
capbilities.setAcceptInsecureCerts(false);
Then it works fine!!
Don't close it, please. It is a bug and we need fix.
sorry, I got it!!
The same thing for Safari.Capability 'acceptInsecureCerts' could not be honored.
@BorisOsipov I registered a separate issue for Safari: https://github.com/selenide/selenide/issues/1236