WebDriverCurlException (And self signed certificate)
Hello,
I am new to testing and would like to start using this. So I installed Dusk on my Laravel 5.5 application. Now when I try to load my own page and try to see what I get (screenshot and a simple AssertSee) I get an error.
Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for http POST to /session with params: {"desiredCapabilities":{"browserName":"chrome","platform":"ANY","chromeOptions":{"binary":"","args":["--disable-gpu","--headless"]}}}
SSL certificate problem: self signed certificate
I have no idea what the error is, but I assume it is not the SSL that is the problem. My complete website is SSL secured (with auto forwards) and has secured cookies. Anyone any idea what I can do to get my testing started? Since this is not giving me information about what to do and I think I'd better not start editing the Facebook driver.
I am still new to testing so I can't really give you answer.
But Chrome could be the problem. Chrome has tightened down web security and stopped allowing .dev domains on localhost with version 63 on OSX. So, I had to find v62 and blocked any updates to Chrome v62. I suspect your problem is related to how Chrome now handles security and self-signed certs. Windows 10 Chrome v63 and OSX v62 blocks self-signed certs and it's driving me up the wall.
I am able to run dusk tests on OSX v62 but this is on my local machine.
Hmm, seems worth checking out. I am on Chrome v64. I'll look into this (I am on W10). Thanks. If anyone else might have an idea, please let me know. In the mean while, I'll try reverting to Chrome v62.