Hi,
I'm using safaridriver in combination with Selenium Server 3 on macOS Mojave 10.14.6 to run selenium automated tests.
Everything works fine for regular websites.
The problem arises when trying to test a page that requires a client SSL certificate.
I've imported the cert into my personal certificates in Keychan Access and created a profile for the base URL of that page.
When I launch Safari manually and navigate to the test URL, the certificate is silently selected and the page opens fine.
On the other hand, when I launch my test via selenium script (safaridriver), the "The website XXX requires a client certificate" confirmation dialog still pops up and the test can't progress.
Is there a way to permanently configure safaridriver to auto accept that dialog or any option/capability that the selenium script should pass to safaridriver?
Thanks,
I'm using safaridriver in combination with Selenium Server 3 on macOS Mojave 10.14.6 to run selenium automated tests.
Everything works fine for regular websites.
The problem arises when trying to test a page that requires a client SSL certificate.
I've imported the cert into my personal certificates in Keychan Access and created a profile for the base URL of that page.
When I launch Safari manually and navigate to the test URL, the certificate is silently selected and the page opens fine.
On the other hand, when I launch my test via selenium script (safaridriver), the "The website XXX requires a client certificate" confirmation dialog still pops up and the test can't progress.
Is there a way to permanently configure safaridriver to auto accept that dialog or any option/capability that the selenium script should pass to safaridriver?
Thanks,
Diego