From 1a369746bd80959fa607ec716612ca8a04df7fa0 Mon Sep 17 00:00:00 2001 From: Tricia Crichton Date: Mon, 23 Dec 2019 15:53:52 -0800 Subject: [PATCH] Set ACCEPT_INSECURE_CERTS capability for test Resolves the todo that the capability needs to be set for the testShouldBeAbleToAccessPagesWithAnInsecureSslCertificate. Signed-off-by: Alexei Barantsev --- java/client/test/org/openqa/selenium/PageLoadingTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/client/test/org/openqa/selenium/PageLoadingTest.java b/java/client/test/org/openqa/selenium/PageLoadingTest.java index 508f8c339e730..f5f956a1d6e97 100644 --- a/java/client/test/org/openqa/selenium/PageLoadingTest.java +++ b/java/client/test/org/openqa/selenium/PageLoadingTest.java @@ -306,7 +306,8 @@ public void testShouldBeAbleToNavigateForwardsInTheBrowserHistory() { @NotYetImplemented(value = SAFARI, reason = "does not support insecure SSL") @NotYetImplemented(EDGE) public void testShouldBeAbleToAccessPagesWithAnInsecureSslCertificate() { - // TODO(user): Set the SSL capability to true. + createNewDriver(new ImmutableCapabilities( + CapabilityType.ACCEPT_INSECURE_CERTS, Boolean.TRUE)); driver.get(appServer.whereIsSecure("simpleTest.html")); shortWait.until(titleIs("Hello WebDriver"));