1

I am trying to test a website using selenium but i can't because i am getting an exception that firefox is insecure.

I am getting this

System.InvalidOperationException: ' (InsecureCertificate)'

respectively:

screen shot

2
  • 1
    but i need a c# solution Commented Aug 24, 2018 at 8:26
  • Pulled in image. Commented Aug 24, 2018 at 8:45

1 Answer 1

0

There are two answers here:

  1. The owner of labserver, you want to talk this person. Because they setup a server that uses bad certificates.
  2. Now, if fixing the certificate isn't an option, then you have "simply" ensure that the browser that Selenium is using in your setup is configured so that it ignores that security violation.

That 2nd point has nothing to do with python vs java vs C#. It is about browser configuration! Therefore that suggested existing question would be a good starting point for you!

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.