Skip to content

Commit 5a6af46

Browse files
authored
Update OptionsTest.java
updated to chromeOptions.setAcceptInsecureCerts(true); from options.setAcceptInsecureCerts(true);
1 parent 4c0e7d7 commit 5a6af46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/java/src/test/java/dev/selenium/drivers/OptionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void setPageLoadStrategyNone() {
5151
@Test
5252
public void setAcceptInsecureCerts() {
5353
ChromeOptions chromeOptions = new ChromeOptions();
54-
options.setAcceptInsecureCerts(true);
54+
chromeOptions.setAcceptInsecureCerts(true);
5555
WebDriver driver = new ChromeDriver(chromeOptions);
5656
try {
5757
// Navigate to Url

0 commit comments

Comments
 (0)