Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to provide the serenity property to handle the security certificate. #107

Open
Gurdeep023 opened this issue Apr 28, 2017 · 3 comments

Comments

@Gurdeep023
Copy link

Request to provide the serenity property to handle the security certificate.

@wakaleo
Copy link
Member

wakaleo commented Apr 28, 2017

Do you mean refuse.untrusted.certificates (set to false by default)?

@Gurdeep023
Copy link
Author

Hi wakaleo,

I am using IE to run my test. But when I enter the https link ,I am getting a security certificate screen.
I am not sure how I can overcome that.
security certificate.docx

@zshn-dev
Copy link

zshn-dev commented Apr 29, 2017

You need to set capabilities of IE to accept SSL Certificates:
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
WebDriver driver = new InternetExplorerDriver(capabilities);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants