0

I was trying to implement image based verification on my selenium project with the help on Sikuli4Net. After following some tutorials I'm getting an error as below.

The request was aborted: Could not create SSL/TLS secure channel.

This is my code.

APILauncher launch = new APILauncher(false);
Pattern Image1 = new Pattern(@"C\Users\XXX\Pictures\google.png");
launch.Start();
driver = new ChromeDriver(@"C:\ChromeDriver1\");
driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
driver.Navigate().GoToUrl("https://www.google.com/");
Screen scr = new Screen();

The exception will occurred at the 3rd line where it starts the

API Launcher

. So is there any solution for above error or is there any better alternatives to image based element identifications on selenium c#.

4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.