Skip to content

Commit

Permalink
Add new chrome arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreivanP committed Aug 24, 2021
1 parent ca94476 commit f5aab7e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.0.11] - 2021-08-24
### Changed
- Add certificate errors

## [1.0.10] - 2021-08-13
### Changed
- WebDriver capabilities to accept insecure connections on Chrome
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>io.dtective</groupId>
<artifactId>dtective-core</artifactId>

<version>1.0.10</version>
<version>1.0.11</version>

<!--Project Organization-->
<organization>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public static DesiredCapabilities getCapabilities(String type) {
capa.setCapability("chrome.switches",
Collections.singletonList("--incognito"));
capa.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);
options.addArguments("--allow-insecure-localhost");
options.addArguments("--ignore-certificate-errors");
break;

}
Expand Down

0 comments on commit f5aab7e

Please sign in to comment.