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

GhostCat
  • 137,827
  • 25
  • 176
  • 248
jack daniels
  • 11
  • 1
  • 3

1 Answers1

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!

GhostCat
  • 137,827
  • 25
  • 176
  • 248