Skip to content

Commit

Permalink
Set ACCEPT_INSECURE_CERTS capability for test
Browse files Browse the repository at this point in the history
Resolves the todo that the capability needs to be set for the
testShouldBeAbleToAccessPagesWithAnInsecureSslCertificate.

Signed-off-by: Alexei Barantsev <[email protected]>
  • Loading branch information
TriciaCrichton authored and barancev committed Mar 7, 2020
1 parent 4b8a481 commit 1a36974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/client/test/org/openqa/selenium/PageLoadingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 1a36974

Please sign in to comment.