# Chrome browser select a certificate

**URL:** <https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891>\
**Category:** Miscellaneous\
**Created:** [June 26, 2024, 9:27pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891 "2024-06-26T21:27:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbergen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jbergen/32/16104_2.png) [@jbergen](https://forum.katalon.com/u/jbergen)\
**Post date:** [June 26, 2024, 9:27pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/1 "2024-06-26T21:27:18Z")

</div>

hello, i have a issue where in my test cases i need to interact with a windows select certificate pop up that appears when the first line of my code is run which is open browser. i have tried robot with no luck, also i have tried autoit where i made a script to simulate a mouse click. The issue is with autoit i cannot get the exe to run as the chrome browser is running. but once i close the chrome browser for the test case the autoit exe runs. what am i missing?

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [June 26, 2024, 9:27pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/2 "2024-06-26T21:27:18Z")

</div>

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [June 27, 2024, 4:57am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/3 "2024-06-27T04:57:48Z")

</div>

please share the screenshot of windows select certificate pop up or any error logs

---

<div class="post-metadata">

**Author:** ![jbergen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jbergen/32/16104_2.png) [@jbergen](https://forum.katalon.com/u/jbergen)\
**Post date:** [June 27, 2024, 1:06pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/4 "2024-06-27T13:06:55Z")

</div>

![image](https://europe1.discourse-cdn.com/katalon/original/3X/c/c/cc5d61d33d81dfbcfa30557ab813f52717212479.png)

i have tried interacting with this pop up with robot but it seems to not be working.  
i have tried using a autoit exe file and it only seems to execute it after the chrome window is closed. not sure why the .exe is running only after i close the katalon chrome browser for that session.

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [June 28, 2024, 4:34pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/5 "2024-06-28T16:34:17Z")

</div>

can you share the error log please?

---

<div class="post-metadata">

**Author:** ![jbergen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jbergen/32/16104_2.png) [@jbergen](https://forum.katalon.com/u/jbergen)\
**Post date:** [June 28, 2024, 10:57pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/6 "2024-06-28T22:57:13Z")

</div>

do you want the event log, the console log or the log viewer

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [June 29, 2024, 5:33am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/7 "2024-06-29T05:33:00Z")

</div>

please share event log, the console log or the log viewer or code too

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [June 29, 2024, 5:35am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/8 "2024-06-29T05:35:15Z")

</div>

> [@jbergen](#):
>
> i have tried interacting with this pop up with robot but it seems to not be working.

what error did you receive on using robot? please provide as much info to troubleshoot your problem further

---

<div class="post-metadata">

**Author:** ![jbergen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jbergen/32/16104_2.png) [@jbergen](https://forum.katalon.com/u/jbergen)\
**Post date:** [July 1, 2024, 12:46pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/9 "2024-07-01T12:46:05Z")

</div>

there is no error from robot because it never reaches that step. it launches the URL the pop up is triggered and the thread is frozen. The robot is the next step in the script. but it never runs the robot because the first thread is frozen from the pop up.

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [July 2, 2024, 5:06am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/10 "2024-07-02T05:06:39Z")

</div>

are you trying to execute the test in parallel mode? this seems to be differene than the original request.

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [July 2, 2024, 5:07am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/11 "2024-07-02T05:07:03Z")

</div>

try to execute any other working script and if it lauches the desired webpage than the one you are trying to open

---

<div class="post-metadata">

**Author:** ![jbergen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jbergen/32/16104_2.png) [@jbergen](https://forum.katalon.com/u/jbergen)\
**Post date:** [July 2, 2024, 1:02pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/12 "2024-07-02T13:02:34Z")

</div>

no not parallel mode

---

<div class="post-metadata">

**Author:** ![jbergen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jbergen/32/16104_2.png) [@jbergen](https://forum.katalon.com/u/jbergen)\
**Post date:** [July 2, 2024, 1:03pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/13 "2024-07-02T13:03:07Z")

</div>

all other scripts work

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [July 3, 2024, 3:53pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/14 "2024-07-03T15:53:13Z")

</div>

Can you interact with the “Certificate” such as **right** click on the OK button to see the HTML of the button? You may have to do a **second** time to see the HTML of the button specifically. (Or use the F12 key and choose, Open DevTools, and pick the top left icon). If you can interact with the certificate, then perhaps you can try and create an object of either OK or Cancel button (or both) and then move to the certificate and click, like:

```auto
// move focus to the certificate page
WebUI.switchToWindowTitle('Select a certificate')

WebUI.click(findTestObject('Certificate Page/button_Ok'))

WebUI.switchToDefaultContent()

```

If you **cannot** interact with the certificate, then how about using browser options to prevent the certificate from showing.

> [@Any tip to get rid of location save pop-up in browser](http://forum.katalon.com/t/any-tip-to-get-rid-of-location-save-pop-up-in-browser/136388/8):
>
> ChromeOptions options = new ChromeOptions(); options.AddArgument("start-maximized"); options.AddArgument("test-type"); options.AddArgument("disable-notifications"); options.AddUserProfilePreference("autofill.profile\_enabled", false);

---

<div class="post-metadata">

**Author:** ![jbergen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jbergen/32/16104_2.png) [@jbergen](https://forum.katalon.com/u/jbergen)\
**Post date:** [July 8, 2024, 12:56pm UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/15 "2024-07-08T12:56:10Z")

</div>

no you cannot interact with that pop up is what i’m saying. Right click on any of the buttons does nothing. the thread is frozen with that pop up until the OK is manually clicked.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [July 12, 2024, 8:45am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/16 "2024-07-12T08:45:19Z")

</div>

Hi @jbergen, 👋

Just checking in to see if you were able to find a solution based on others’ comments in this thread or not.

If yes, then don’t forget to **mark one as a solution** ✅ so that others who are having the same question can benefit from it as well. 👍

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [July 18, 2024, 10:21am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/17 "2024-07-18T10:21:12Z")

</div>

Hi all,

Since the OP of this thread has been M.I.A for a while now, we will presume that they have found the solution they needed and will proceed to close this thread soon.

Thanks!

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [July 19, 2024, 1:00am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/18 "2024-07-19T01:00:17Z")

</div>

This topic was automatically closed after 14 hours. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [July 24, 2024, 7:41am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/19 "2024-07-24T07:41:35Z")

</div>



---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [July 24, 2024, 7:43am UTC](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891/20 "2024-07-24T07:43:01Z")

</div>

The OP of this thread reached out to us saying that they were on vacation so they did not have time to respond to this thread. Hence, we will re-open it so that others can support them further.

[Next page](https://forum.katalon.com/t/chrome-browser-select-a-certificate/135891.md?page=2)
