1

Is it possible to accept SSL Certificates in Chrome/Firefox using AutoIT tool?

https://www.autoitscript.com/site/autoit/

Thanks!

Dana
  • 139
  • 1
  • 10
  • Why would you want to do that? I strongly assume there is a better solution to your actual problem. – FlyingFoX Nov 20 '15 at 17:53
  • @FlyingFoX I want to automate the ssl certificates for my selenium testing. What solution would you suggest? – Dana Nov 20 '15 at 17:56
  • I recommend you have a look at this http://stackoverflow.com/q/10889085/783912 It should at least help you with firefox. – FlyingFoX Nov 20 '15 at 17:58

1 Answers1

1

The short answer is yes. You have 3 options depending on what you want to do. They are:

  1. Use the FF.au3 and the Chrome.au3 UDFs plus other AutoIt automations. (Hard)

  2. Use iUIAutomation plus other AutoIt automations. (A little less hard)

  3. If you just need to get some certificate info you can use this script. (pretty easy)

If you go with option 3 you will need to download this UDF and update the WinINetConstants.Au3 file on line 5 from:

  Global Const $AU3_UNICODE = Number($AU3_VERSION[2] & "." & $AU3_VERSION[3]) >= 2.13 Or @AutoItUnicode

To

  Global Const $AU3_UNICODE = Number($AU3_VERSION[2] & "." & $AU3_VERSION[3]) >= 2.13 Or @AutoItVersion
MrAutoIt
  • 785
  • 6
  • 21
  • Thanks for your response. Using option 3, I have modified the script. How do I run the script with my selenium code. It will be great if you can elaborate on this. P.S I'm a newbie at AutoIT. – Dana Feb 02 '16 at 22:52